{"action":"created","issue":{"url":"https://api.github.com/repos/autolotto/mongoose-model-update/issues/1","labels_url":"https://api.github.com/repos/autolotto/mongoose-model-update/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/autolotto/mongoose-model-update/issues/1/comments","events_url":"https://api.github.com/repos/autolotto/mongoose-model-update/issues/1/events","html_url":"https://github.com/autolotto/mongoose-model-update/pull/1","id":112230826,"number":1,"title":"Merge objects using _/lodash#merge for deep updates","user":{"login":"tejasmanohar","id":5959235,"avatar_url":"https://avatars.githubusercontent.com/u/5959235?v=3","gravatar_id":"","url":"https://api.github.com/users/tejasmanohar","html_url":"https://github.com/tejasmanohar","followers_url":"https://api.github.com/users/tejasmanohar/followers","following_url":"https://api.github.com/users/tejasmanohar/following{/other_user}","gists_url":"https://api.github.com/users/tejasmanohar/gists{/gist_id}","starred_url":"https://api.github.com/users/tejasmanohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejasmanohar/subscriptions","organizations_url":"https://api.github.com/users/tejasmanohar/orgs","repos_url":"https://api.github.com/users/tejasmanohar/repos","events_url":"https://api.github.com/users/tejasmanohar/events{/privacy}","received_events_url":"https://api.github.com/users/tejasmanohar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-19T20:54:03Z","updated_at":"2015-10-19T20:56:43Z","closed_at":"2015-10-19T20:56:43Z","pull_request":{"url":"https://api.github.com/repos/autolotto/mongoose-model-update/pulls/1","html_url":"https://github.com/autolotto/mongoose-model-update/pull/1","diff_url":"https://github.com/autolotto/mongoose-model-update/pull/1.diff","patch_url":"https://github.com/autolotto/mongoose-model-update/pull/1.patch"},"body":"lodash#merge recursively merges own enumerable properties of the source object(s), that don’t resolve to undefined into the destination object. Subsequent sources overwrite property assignments of previous sources.\r\n\r\nIf you're not following the difference, Object#assign works very similarly to lodash#assign, read [here](http://stackoverflow.com/questions/19965844/lodash-difference-between-extend-assign-and-merge)."},"comment":{"url":"https://api.github.com/repos/autolotto/mongoose-model-update/issues/comments/149344675","html_url":"https://github.com/autolotto/mongoose-model-update/pull/1#issuecomment-149344675","issue_url":"https://api.github.com/repos/autolotto/mongoose-model-update/issues/1","id":149344675,"user":{"login":"tejasmanohar","id":5959235,"avatar_url":"https://avatars.githubusercontent.com/u/5959235?v=3","gravatar_id":"","url":"https://api.github.com/users/tejasmanohar","html_url":"https://github.com/tejasmanohar","followers_url":"https://api.github.com/users/tejasmanohar/followers","following_url":"https://api.github.com/users/tejasmanohar/following{/other_user}","gists_url":"https://api.github.com/users/tejasmanohar/gists{/gist_id}","starred_url":"https://api.github.com/users/tejasmanohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejasmanohar/subscriptions","organizations_url":"https://api.github.com/users/tejasmanohar/orgs","repos_url":"https://api.github.com/users/tejasmanohar/repos","events_url":"https://api.github.com/users/tejasmanohar/events{/privacy}","received_events_url":"https://api.github.com/users/tejasmanohar/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T20:56:43Z","updated_at":"2015-10-19T20:56:43Z","body":"This will not work because proto is lost as merge creates a new object"}}