{"action":"opened","issue":{"url":"https://api.github.com/repos/201-created/ember-data-hal-9000/issues/47","repository_url":"https://api.github.com/repos/201-created/ember-data-hal-9000","labels_url":"https://api.github.com/repos/201-created/ember-data-hal-9000/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/201-created/ember-data-hal-9000/issues/47/comments","events_url":"https://api.github.com/repos/201-created/ember-data-hal-9000/issues/47/events","html_url":"https://github.com/201-created/ember-data-hal-9000/issues/47","id":206160869,"number":47,"title":"extractId called after extractAttributes","user":{"login":"makepanic","id":1205444,"avatar_url":"https://avatars.githubusercontent.com/u/1205444?v=3","gravatar_id":"","url":"https://api.github.com/users/makepanic","html_url":"https://github.com/makepanic","followers_url":"https://api.github.com/users/makepanic/followers","following_url":"https://api.github.com/users/makepanic/following{/other_user}","gists_url":"https://api.github.com/users/makepanic/gists{/gist_id}","starred_url":"https://api.github.com/users/makepanic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makepanic/subscriptions","organizations_url":"https://api.github.com/users/makepanic/orgs","repos_url":"https://api.github.com/users/makepanic/repos","events_url":"https://api.github.com/users/makepanic/events{/privacy}","received_events_url":"https://api.github.com/users/makepanic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-08T10:49:26Z","updated_at":"2017-02-08T10:49:26Z","closed_at":null,"body":"`extractAttributes` deletes keys from the payload object.\r\nThis means when calling `extractId`, the developer can only read the updated object.\r\n\r\nThe call order could be changed to allow extractId to use the full incoming object. \r\nDatas [json-api serializer](https://github.com/emberjs/data/blob/v2.11.0/addon/serializers/json-api.js#L417) does it like this: \r\n```js\r\n      id:            this.extractId(modelClass, resourceHash),\r\n      type:          this._extractType(modelClass, resourceHash),\r\n      attributes:    this.extractAttributes(modelClass, resourceHash),\r\n      relationships: this.extractRelationships(modelClass, resourceHash)\r\n```\r\n"}}
{"actor":{"display_login":"makepanic"}}