{"action":"created","issue":{"url":"https://api.github.com/repos/arqex/freezer/issues/80","repository_url":"https://api.github.com/repos/arqex/freezer","labels_url":"https://api.github.com/repos/arqex/freezer/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/arqex/freezer/issues/80/comments","events_url":"https://api.github.com/repos/arqex/freezer/issues/80/events","html_url":"https://github.com/arqex/freezer/pull/80","id":137118271,"number":80,"title":"Bugfix: Preserve pivot when no update is needed","user":{"login":"oigewan","id":1113130,"avatar_url":"https://avatars.githubusercontent.com/u/1113130?v=3","gravatar_id":"","url":"https://api.github.com/users/oigewan","html_url":"https://github.com/oigewan","followers_url":"https://api.github.com/users/oigewan/followers","following_url":"https://api.github.com/users/oigewan/following{/other_user}","gists_url":"https://api.github.com/users/oigewan/gists{/gist_id}","starred_url":"https://api.github.com/users/oigewan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oigewan/subscriptions","organizations_url":"https://api.github.com/users/oigewan/orgs","repos_url":"https://api.github.com/users/oigewan/repos","events_url":"https://api.github.com/users/oigewan/events{/privacy}","received_events_url":"https://api.github.com/users/oigewan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-29T00:44:43Z","updated_at":"2016-02-29T19:35:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/arqex/freezer/pulls/80","html_url":"https://github.com/arqex/freezer/pull/80","diff_url":"https://github.com/arqex/freezer/pull/80.diff","patch_url":"https://github.com/arqex/freezer/pull/80.patch"},"body":"**Bug:**\r\nIf using a pivot to update multiple nested objects and the call to `.set()` would not result in a change, the node is returned instead of the pivot.\r\n\r\n**Changes:**\r\n\r\n1. Added some stuff to the .gitignore file to prevent my IDE from polluting the repo.\r\n2. A few minor formatting changes (added semi colons mostly) so that my editor would stop yelling at me.\r\n3. If no update is needed in the `.set()` API, check for a pivot.  Return it if it's there and return the node if it's not.\r\n4. Added a unit test for this use case.  Test failed due to JS error before change.  Succeeds now."},"comment":{"url":"https://api.github.com/repos/arqex/freezer/issues/comments/190348939","html_url":"https://github.com/arqex/freezer/pull/80#issuecomment-190348939","issue_url":"https://api.github.com/repos/arqex/freezer/issues/80","id":190348939,"user":{"login":"oigewan","id":1113130,"avatar_url":"https://avatars.githubusercontent.com/u/1113130?v=3","gravatar_id":"","url":"https://api.github.com/users/oigewan","html_url":"https://github.com/oigewan","followers_url":"https://api.github.com/users/oigewan/followers","following_url":"https://api.github.com/users/oigewan/following{/other_user}","gists_url":"https://api.github.com/users/oigewan/gists{/gist_id}","starred_url":"https://api.github.com/users/oigewan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oigewan/subscriptions","organizations_url":"https://api.github.com/users/oigewan/orgs","repos_url":"https://api.github.com/users/oigewan/repos","events_url":"https://api.github.com/users/oigewan/events{/privacy}","received_events_url":"https://api.github.com/users/oigewan/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T19:35:19Z","updated_at":"2016-02-29T19:35:19Z","body":"No worries, man.  Glad to see there's still active development.  We're pointing to our fork with the patch for now just to allow us to keep moving.  I'll check back in a week or two to see about getting back onto the main repo.\r\n\r\nThis is a great tool.  Thanks for the hard work."}}