{"action":"closed","number":570,"pull_request":{"url":"https://api.github.com/repos/facebook/relay/pulls/570","id":50105504,"html_url":"https://github.com/facebook/relay/pull/570","diff_url":"https://github.com/facebook/relay/pull/570.diff","patch_url":"https://github.com/facebook/relay/pull/570.patch","issue_url":"https://api.github.com/repos/facebook/relay/issues/570","number":570,"state":"closed","locked":false,"title":"WIP: Make RelayStore contextual","user":{"login":"devknoll","id":1477230,"avatar_url":"https://avatars.githubusercontent.com/u/1477230?v=3","gravatar_id":"","url":"https://api.github.com/users/devknoll","html_url":"https://github.com/devknoll","followers_url":"https://api.github.com/users/devknoll/followers","following_url":"https://api.github.com/users/devknoll/following{/other_user}","gists_url":"https://api.github.com/users/devknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/devknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devknoll/subscriptions","organizations_url":"https://api.github.com/users/devknoll/orgs","repos_url":"https://api.github.com/users/devknoll/repos","events_url":"https://api.github.com/users/devknoll/events{/privacy}","received_events_url":"https://api.github.com/users/devknoll/received_events","type":"User","site_admin":false},"body":"Builds on #569. Part of #558\r\n\r\nThis is actually just a PoC until `RelayContext` is implemented. With this PR, `RelayStoreData. getDefaultInstance` has been completely removed and `RelayStore` turned into a class.\r\n\r\nThe last steps here are to pass an instance of `RelayStore` via the context and remove the (temporary) `RelayStore.getDefaultInstance` calls.","created_at":"2015-11-09T10:23:46Z","updated_at":"2015-11-16T06:06:32Z","closed_at":"2015-11-16T06:06:32Z","merged_at":null,"merge_commit_sha":"b4317b2251f24f7ab40549cc440a4de2326c044a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/relay/pulls/570/commits","review_comments_url":"https://api.github.com/repos/facebook/relay/pulls/570/comments","review_comment_url":"https://api.github.com/repos/facebook/relay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/relay/issues/570/comments","statuses_url":"https://api.github.com/repos/facebook/relay/statuses/85505077d3156d9c3b58114bc43a81233dd6d4b8","head":{"label":"devknoll:9-contextual-relay-store","ref":"9-contextual-relay-store","sha":"85505077d3156d9c3b58114bc43a81233dd6d4b8","user":{"login":"devknoll","id":1477230,"avatar_url":"https://avatars.githubusercontent.com/u/1477230?v=3","gravatar_id":"","url":"https://api.github.com/users/devknoll","html_url":"https://github.com/devknoll","followers_url":"https://api.github.com/users/devknoll/followers","following_url":"https://api.github.com/users/devknoll/following{/other_user}","gists_url":"https://api.github.com/users/devknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/devknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devknoll/subscriptions","organizations_url":"https://api.github.com/users/devknoll/orgs","repos_url":"https://api.github.com/users/devknoll/repos","events_url":"https://api.github.com/users/devknoll/events{/privacy}","received_events_url":"https://api.github.com/users/devknoll/received_events","type":"User","site_admin":false},"repo":{"id":40580569,"name":"relay","full_name":"devknoll/relay","owner":{"login":"devknoll","id":1477230,"avatar_url":"https://avatars.githubusercontent.com/u/1477230?v=3","gravatar_id":"","url":"https://api.github.com/users/devknoll","html_url":"https://github.com/devknoll","followers_url":"https://api.github.com/users/devknoll/followers","following_url":"https://api.github.com/users/devknoll/following{/other_user}","gists_url":"https://api.github.com/users/devknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/devknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devknoll/subscriptions","organizations_url":"https://api.github.com/users/devknoll/orgs","repos_url":"https://api.github.com/users/devknoll/repos","events_url":"https://api.github.com/users/devknoll/events{/privacy}","received_events_url":"https://api.github.com/users/devknoll/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devknoll/relay","description":"Relay is a JavaScript framework for building data-driven React applications.","fork":true,"url":"https://api.github.com/repos/devknoll/relay","forks_url":"https://api.github.com/repos/devknoll/relay/forks","keys_url":"https://api.github.com/repos/devknoll/relay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devknoll/relay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devknoll/relay/teams","hooks_url":"https://api.github.com/repos/devknoll/relay/hooks","issue_events_url":"https://api.github.com/repos/devknoll/relay/issues/events{/number}","events_url":"https://api.github.com/repos/devknoll/relay/events","assignees_url":"https://api.github.com/repos/devknoll/relay/assignees{/user}","branches_url":"https://api.github.com/repos/devknoll/relay/branches{/branch}","tags_url":"https://api.github.com/repos/devknoll/relay/tags","blobs_url":"https://api.github.com/repos/devknoll/relay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devknoll/relay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devknoll/relay/git/refs{/sha}","trees_url":"https://api.github.com/repos/devknoll/relay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devknoll/relay/statuses/{sha}","languages_url":"https://api.github.com/repos/devknoll/relay/languages","stargazers_url":"https://api.github.com/repos/devknoll/relay/stargazers","contributors_url":"https://api.github.com/repos/devknoll/relay/contributors","subscribers_url":"https://api.github.com/repos/devknoll/relay/subscribers","subscription_url":"https://api.github.com/repos/devknoll/relay/subscription","commits_url":"https://api.github.com/repos/devknoll/relay/commits{/sha}","git_commits_url":"https://api.github.com/repos/devknoll/relay/git/commits{/sha}","comments_url":"https://api.github.com/repos/devknoll/relay/comments{/number}","issue_comment_url":"https://api.github.com/repos/devknoll/relay/issues/comments{/number}","contents_url":"https://api.github.com/repos/devknoll/relay/contents/{+path}","compare_url":"https://api.github.com/repos/devknoll/relay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devknoll/relay/merges","archive_url":"https://api.github.com/repos/devknoll/relay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devknoll/relay/downloads","issues_url":"https://api.github.com/repos/devknoll/relay/issues{/number}","pulls_url":"https://api.github.com/repos/devknoll/relay/pulls{/number}","milestones_url":"https://api.github.com/repos/devknoll/relay/milestones{/number}","notifications_url":"https://api.github.com/repos/devknoll/relay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devknoll/relay/labels{/name}","releases_url":"https://api.github.com/repos/devknoll/relay/releases{/id}","created_at":"2015-08-12T04:44:43Z","updated_at":"2015-08-12T04:44:44Z","pushed_at":"2015-11-16T06:05:40Z","git_url":"git://github.com/devknoll/relay.git","ssh_url":"git@github.com:devknoll/relay.git","clone_url":"https://github.com/devknoll/relay.git","svn_url":"https://github.com/devknoll/relay","homepage":"https://facebook.github.io/relay/","size":2697,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"c8fdc78b54eb21d8e594ee5a9a134616c6690aa4","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":40508605,"name":"relay","full_name":"facebook/relay","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/relay","description":"Relay is a JavaScript framework for building data-driven React applications.","fork":false,"url":"https://api.github.com/repos/facebook/relay","forks_url":"https://api.github.com/repos/facebook/relay/forks","keys_url":"https://api.github.com/repos/facebook/relay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/relay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/relay/teams","hooks_url":"https://api.github.com/repos/facebook/relay/hooks","issue_events_url":"https://api.github.com/repos/facebook/relay/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/relay/events","assignees_url":"https://api.github.com/repos/facebook/relay/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/relay/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/relay/tags","blobs_url":"https://api.github.com/repos/facebook/relay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/relay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/relay/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/relay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/relay/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/relay/languages","stargazers_url":"https://api.github.com/repos/facebook/relay/stargazers","contributors_url":"https://api.github.com/repos/facebook/relay/contributors","subscribers_url":"https://api.github.com/repos/facebook/relay/subscribers","subscription_url":"https://api.github.com/repos/facebook/relay/subscription","commits_url":"https://api.github.com/repos/facebook/relay/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/relay/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/relay/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/relay/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/relay/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/relay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/relay/merges","archive_url":"https://api.github.com/repos/facebook/relay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/relay/downloads","issues_url":"https://api.github.com/repos/facebook/relay/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/relay/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/relay/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/relay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/relay/labels{/name}","releases_url":"https://api.github.com/repos/facebook/relay/releases{/id}","created_at":"2015-08-10T22:09:16Z","updated_at":"2015-11-16T01:06:58Z","pushed_at":"2015-11-15T21:55:27Z","git_url":"git://github.com/facebook/relay.git","ssh_url":"git@github.com:facebook/relay.git","clone_url":"https://github.com/facebook/relay.git","svn_url":"https://github.com/facebook/relay","homepage":"https://facebook.github.io/relay/","size":8266,"stargazers_count":5007,"watchers_count":5007,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":304,"mirror_url":null,"open_issues_count":71,"forks":304,"open_issues":71,"watchers":5007,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/relay/pulls/570"},"html":{"href":"https://github.com/facebook/relay/pull/570"},"issue":{"href":"https://api.github.com/repos/facebook/relay/issues/570"},"comments":{"href":"https://api.github.com/repos/facebook/relay/issues/570/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/relay/pulls/570/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/relay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/relay/pulls/570/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/relay/statuses/85505077d3156d9c3b58114bc43a81233dd6d4b8"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":19,"review_comments":16,"commits":14,"additions":1012,"deletions":720,"changed_files":38}}