{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/data/issues/2835","labels_url":"https://api.github.com/repos/emberjs/data/issues/2835/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/data/issues/2835/comments","events_url":"https://api.github.com/repos/emberjs/data/issues/2835/events","html_url":"https://github.com/emberjs/data/pull/2835","id":60115065,"number":2835,"title":"Copy the attr's defaultValue before assigning it.","user":{"login":"bmac","id":54056,"avatar_url":"https://avatars.githubusercontent.com/u/54056?v=3","gravatar_id":"","url":"https://api.github.com/users/bmac","html_url":"https://github.com/bmac","followers_url":"https://api.github.com/users/bmac/followers","following_url":"https://api.github.com/users/bmac/following{/other_user}","gists_url":"https://api.github.com/users/bmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmac/subscriptions","organizations_url":"https://api.github.com/users/bmac/orgs","repos_url":"https://api.github.com/users/bmac/repos","events_url":"https://api.github.com/users/bmac/events{/privacy}","received_events_url":"https://api.github.com/users/bmac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-06T15:21:37Z","updated_at":"2015-03-06T23:05:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/emberjs/data/pulls/2835","html_url":"https://github.com/emberjs/data/pull/2835","diff_url":"https://github.com/emberjs/data/pull/2835.diff","patch_url":"https://github.com/emberjs/data/pull/2835.patch"},"body":"Closes #2833 \r\n\r\nThis is a breaking change for anyone relying on the old behavior. Also this pr just performs a shallow copy. Should ED make a deep copy or simply require users to define their own function if they want a deep copy?"},"comment":{"url":"https://api.github.com/repos/emberjs/data/issues/comments/77652739","html_url":"https://github.com/emberjs/data/pull/2835#issuecomment-77652739","issue_url":"https://api.github.com/repos/emberjs/data/issues/2835","id":77652739,"user":{"login":"yokree","id":2599261,"avatar_url":"https://avatars.githubusercontent.com/u/2599261?v=3","gravatar_id":"","url":"https://api.github.com/users/yokree","html_url":"https://github.com/yokree","followers_url":"https://api.github.com/users/yokree/followers","following_url":"https://api.github.com/users/yokree/following{/other_user}","gists_url":"https://api.github.com/users/yokree/gists{/gist_id}","starred_url":"https://api.github.com/users/yokree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yokree/subscriptions","organizations_url":"https://api.github.com/users/yokree/orgs","repos_url":"https://api.github.com/users/yokree/repos","events_url":"https://api.github.com/users/yokree/events{/privacy}","received_events_url":"https://api.github.com/users/yokree/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T23:05:14Z","updated_at":"2015-03-06T23:05:14Z","body":"I would like to see deep copy, shallow copy could be a source of bugs for people who doesn't know defaultValue behaviour."}}