{"action":"created","comment":{"url":"https://api.github.com/repos/emberjs/data/pulls/comments/88529114","pull_request_review_id":9100391,"id":88529114,"diff_hunk":"@@ -26,19 +71,164 @@ BelongsToReference.prototype.remoteType = function() {\n   return \"id\";\n };\n \n+/**\n+   The `id` of the record that this reference refers to. Together, the\n+   `type()` and `id()` methods form a composite key for the identity\n+   map. This can be used to access the id of an asycn relationship\n+   without triggering a fetch that would normally happen if you\n+   attempted to use `record.get('relationship.id')`.\n+\n+   Example\n+\n+   ```javascript\n+    // models/blog.js\n+    export default DS.Model.extend({\n+      user: DS.belongsTo({ async: true })\n+    });\n+\n+    var blog = store.push({","path":"addon/-private/system/references/belongs-to.js","position":34,"original_position":78,"commit_id":"cfd95b16ceea66165b327a7f17248733344c47ef","original_commit_id":"cfd95b16ceea66165b327a7f17248733344c47ef","user":{"login":"pangratz","id":341877,"avatar_url":"https://avatars.githubusercontent.com/u/341877?v=3","gravatar_id":"","url":"https://api.github.com/users/pangratz","html_url":"https://github.com/pangratz","followers_url":"https://api.github.com/users/pangratz/followers","following_url":"https://api.github.com/users/pangratz/following{/other_user}","gists_url":"https://api.github.com/users/pangratz/gists{/gist_id}","starred_url":"https://api.github.com/users/pangratz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pangratz/subscriptions","organizations_url":"https://api.github.com/users/pangratz/orgs","repos_url":"https://api.github.com/users/pangratz/repos","events_url":"https://api.github.com/users/pangratz/events{/privacy}","received_events_url":"https://api.github.com/users/pangratz/received_events","type":"User","site_admin":false},"body":"not a valid format for `store.push`","created_at":"2016-11-17T19:35:44Z","updated_at":"2016-11-17T19:36:31Z","html_url":"https://github.com/emberjs/data/pull/4639#discussion_r88529114","pull_request_url":"https://api.github.com/repos/emberjs/data/pulls/4639","_links":{"self":{"href":"https://api.github.com/repos/emberjs/data/pulls/comments/88529114"},"html":{"href":"https://github.com/emberjs/data/pull/4639#discussion_r88529114"},"pull_request":{"href":"https://api.github.com/repos/emberjs/data/pulls/4639"}}},"pull_request":{"url":"https://api.github.com/repos/emberjs/data/pulls/4639","id":93211263,"html_url":"https://github.com/emberjs/data/pull/4639","diff_url":"https://github.com/emberjs/data/pull/4639.diff","patch_url":"https://github.com/emberjs/data/pull/4639.patch","issue_url":"https://api.github.com/repos/emberjs/data/issues/4639","number":4639,"state":"open","locked":false,"title":"Update API docs for BelongsToReference","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},"body":"cc @pangratz ","created_at":"2016-11-10T19:08:00Z","updated_at":"2016-11-17T19:42:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c448c54fd63bf8147a8f7851a0dafc05dae8b002","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/emberjs/data/pulls/4639/commits","review_comments_url":"https://api.github.com/repos/emberjs/data/pulls/4639/comments","review_comment_url":"https://api.github.com/repos/emberjs/data/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emberjs/data/issues/4639/comments","statuses_url":"https://api.github.com/repos/emberjs/data/statuses/cfd95b16ceea66165b327a7f17248733344c47ef","head":{"label":"bmac:doc-belongs-to-reference","ref":"doc-belongs-to-reference","sha":"cfd95b16ceea66165b327a7f17248733344c47ef","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},"repo":{"id":14693289,"name":"data","full_name":"bmac/data","owner":{"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},"private":false,"html_url":"https://github.com/bmac/data","description":"A data persistence library for Ember.js.","fork":true,"url":"https://api.github.com/repos/bmac/data","forks_url":"https://api.github.com/repos/bmac/data/forks","keys_url":"https://api.github.com/repos/bmac/data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bmac/data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bmac/data/teams","hooks_url":"https://api.github.com/repos/bmac/data/hooks","issue_events_url":"https://api.github.com/repos/bmac/data/issues/events{/number}","events_url":"https://api.github.com/repos/bmac/data/events","assignees_url":"https://api.github.com/repos/bmac/data/assignees{/user}","branches_url":"https://api.github.com/repos/bmac/data/branches{/branch}","tags_url":"https://api.github.com/repos/bmac/data/tags","blobs_url":"https://api.github.com/repos/bmac/data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bmac/data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bmac/data/git/refs{/sha}","trees_url":"https://api.github.com/repos/bmac/data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bmac/data/statuses/{sha}","languages_url":"https://api.github.com/repos/bmac/data/languages","stargazers_url":"https://api.github.com/repos/bmac/data/stargazers","contributors_url":"https://api.github.com/repos/bmac/data/contributors","subscribers_url":"https://api.github.com/repos/bmac/data/subscribers","subscription_url":"https://api.github.com/repos/bmac/data/subscription","commits_url":"https://api.github.com/repos/bmac/data/commits{/sha}","git_commits_url":"https://api.github.com/repos/bmac/data/git/commits{/sha}","comments_url":"https://api.github.com/repos/bmac/data/comments{/number}","issue_comment_url":"https://api.github.com/repos/bmac/data/issues/comments{/number}","contents_url":"https://api.github.com/repos/bmac/data/contents/{+path}","compare_url":"https://api.github.com/repos/bmac/data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bmac/data/merges","archive_url":"https://api.github.com/repos/bmac/data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bmac/data/downloads","issues_url":"https://api.github.com/repos/bmac/data/issues{/number}","pulls_url":"https://api.github.com/repos/bmac/data/pulls{/number}","milestones_url":"https://api.github.com/repos/bmac/data/milestones{/number}","notifications_url":"https://api.github.com/repos/bmac/data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bmac/data/labels{/name}","releases_url":"https://api.github.com/repos/bmac/data/releases{/id}","deployments_url":"https://api.github.com/repos/bmac/data/deployments","created_at":"2013-11-25T17:46:36Z","updated_at":"2015-03-24T22:52:08Z","pushed_at":"2016-11-17T14:58:24Z","git_url":"git://github.com/bmac/data.git","ssh_url":"git@github.com:bmac/data.git","clone_url":"https://github.com/bmac/data.git","svn_url":"https://github.com/bmac/data","homepage":"","size":11504,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"emberjs:master","ref":"master","sha":"1ca87a20851d441a69d077811f6f014561fc725e","user":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"repo":{"id":3016562,"name":"data","full_name":"emberjs/data","owner":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emberjs/data","description":"A data persistence library for Ember.js.","fork":false,"url":"https://api.github.com/repos/emberjs/data","forks_url":"https://api.github.com/repos/emberjs/data/forks","keys_url":"https://api.github.com/repos/emberjs/data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emberjs/data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emberjs/data/teams","hooks_url":"https://api.github.com/repos/emberjs/data/hooks","issue_events_url":"https://api.github.com/repos/emberjs/data/issues/events{/number}","events_url":"https://api.github.com/repos/emberjs/data/events","assignees_url":"https://api.github.com/repos/emberjs/data/assignees{/user}","branches_url":"https://api.github.com/repos/emberjs/data/branches{/branch}","tags_url":"https://api.github.com/repos/emberjs/data/tags","blobs_url":"https://api.github.com/repos/emberjs/data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emberjs/data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emberjs/data/git/refs{/sha}","trees_url":"https://api.github.com/repos/emberjs/data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emberjs/data/statuses/{sha}","languages_url":"https://api.github.com/repos/emberjs/data/languages","stargazers_url":"https://api.github.com/repos/emberjs/data/stargazers","contributors_url":"https://api.github.com/repos/emberjs/data/contributors","subscribers_url":"https://api.github.com/repos/emberjs/data/subscribers","subscription_url":"https://api.github.com/repos/emberjs/data/subscription","commits_url":"https://api.github.com/repos/emberjs/data/commits{/sha}","git_commits_url":"https://api.github.com/repos/emberjs/data/git/commits{/sha}","comments_url":"https://api.github.com/repos/emberjs/data/comments{/number}","issue_comment_url":"https://api.github.com/repos/emberjs/data/issues/comments{/number}","contents_url":"https://api.github.com/repos/emberjs/data/contents/{+path}","compare_url":"https://api.github.com/repos/emberjs/data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emberjs/data/merges","archive_url":"https://api.github.com/repos/emberjs/data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emberjs/data/downloads","issues_url":"https://api.github.com/repos/emberjs/data/issues{/number}","pulls_url":"https://api.github.com/repos/emberjs/data/pulls{/number}","milestones_url":"https://api.github.com/repos/emberjs/data/milestones{/number}","notifications_url":"https://api.github.com/repos/emberjs/data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emberjs/data/labels{/name}","releases_url":"https://api.github.com/repos/emberjs/data/releases{/id}","deployments_url":"https://api.github.com/repos/emberjs/data/deployments","created_at":"2011-12-20T01:50:40Z","updated_at":"2016-11-17T07:06:11Z","pushed_at":"2016-11-17T15:10:39Z","git_url":"git://github.com/emberjs/data.git","ssh_url":"git@github.com:emberjs/data.git","clone_url":"https://github.com/emberjs/data.git","svn_url":"https://github.com/emberjs/data","homepage":"","size":21784,"stargazers_count":2738,"watchers_count":2738,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1085,"mirror_url":null,"open_issues_count":185,"forks":1085,"open_issues":185,"watchers":2738,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emberjs/data/pulls/4639"},"html":{"href":"https://github.com/emberjs/data/pull/4639"},"issue":{"href":"https://api.github.com/repos/emberjs/data/issues/4639"},"comments":{"href":"https://api.github.com/repos/emberjs/data/issues/4639/comments"},"review_comments":{"href":"https://api.github.com/repos/emberjs/data/pulls/4639/comments"},"review_comment":{"href":"https://api.github.com/repos/emberjs/data/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emberjs/data/pulls/4639/commits"},"statuses":{"href":"https://api.github.com/repos/emberjs/data/statuses/cfd95b16ceea66165b327a7f17248733344c47ef"}}}}
{"actor":{"display_login":"pangratz"}}