{"action":"created","issue":{"url":"https://api.github.com/repos/lodash/lodash/issues/2499","repository_url":"https://api.github.com/repos/lodash/lodash","labels_url":"https://api.github.com/repos/lodash/lodash/issues/2499/labels{/name}","comments_url":"https://api.github.com/repos/lodash/lodash/issues/2499/comments","events_url":"https://api.github.com/repos/lodash/lodash/issues/2499/events","html_url":"https://github.com/lodash/lodash/issues/2499","id":165564759,"number":2499,"title":"_.defaultsDeeps doesn't override null","user":{"login":"andreineculau","id":708161,"avatar_url":"https://avatars.githubusercontent.com/u/708161?v=3","gravatar_id":"","url":"https://api.github.com/users/andreineculau","html_url":"https://github.com/andreineculau","followers_url":"https://api.github.com/users/andreineculau/followers","following_url":"https://api.github.com/users/andreineculau/following{/other_user}","gists_url":"https://api.github.com/users/andreineculau/gists{/gist_id}","starred_url":"https://api.github.com/users/andreineculau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreineculau/subscriptions","organizations_url":"https://api.github.com/users/andreineculau/orgs","repos_url":"https://api.github.com/users/andreineculau/repos","events_url":"https://api.github.com/users/andreineculau/events{/privacy}","received_events_url":"https://api.github.com/users/andreineculau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lodash/lodash/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T13:40:27Z","updated_at":"2016-07-14T13:50:03Z","closed_at":"2016-07-14T13:50:03Z","body":"Is it by design/choice that `_.defaultsDeep({a: {b: null}}, {a: {b: 'c'}})` will keep to `{a: {b: null}}` ?\r\n\r\nIf so, what would be the equivalent call to treat `null` as `undefined` in this context (deep object)?"},"comment":{"url":"https://api.github.com/repos/lodash/lodash/issues/comments/232670863","html_url":"https://github.com/lodash/lodash/issues/2499#issuecomment-232670863","issue_url":"https://api.github.com/repos/lodash/lodash/issues/2499","id":232670863,"user":{"login":"jdalton","id":4303,"avatar_url":"https://avatars.githubusercontent.com/u/4303?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalton","html_url":"https://github.com/jdalton","followers_url":"https://api.github.com/users/jdalton/followers","following_url":"https://api.github.com/users/jdalton/following{/other_user}","gists_url":"https://api.github.com/users/jdalton/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalton/subscriptions","organizations_url":"https://api.github.com/users/jdalton/orgs","repos_url":"https://api.github.com/users/jdalton/repos","events_url":"https://api.github.com/users/jdalton/events{/privacy}","received_events_url":"https://api.github.com/users/jdalton/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T13:50:03Z","updated_at":"2016-07-14T13:50:03Z","body":"> Is it by design/choice that `_.defaultsDeep({a: {b: null}}, {a: {b: 'c'}})` will keep to `{a: {b: null}}` ?\r\n\r\nYes.\r\n\r\n> If so, what would be the equivalent call to treat `null` as `undefined` in this context (deep object)?\r\n\r\nYou should check out [_.mergeWith](https://lodash.com/docs#mergeWith).\r\n\r\n\r\nmergeWith"}}
{"actor":{"display_login":"jdalton"}}