{"action":"created","comment":{"url":"https://api.github.com/repos/apollostack/GitHunt/pulls/comments/68880098","id":68880098,"diff_hunk":"@@ -31,8 +32,8 @@ export const resolvers = {\n     postedBy({ posted_by }, _, context) {\n       return context.Users.getByLogin(posted_by);\n     },\n-    comments() {\n-      throw new Error('Not implemented.');\n+    comments({ repository_name }, _, context) {","path":"api/sql/schema.js","position":17,"original_position":17,"commit_id":"0cbbdf3ee05631751d50ca598eb099c78a1b1cde","original_commit_id":"0cbbdf3ee05631751d50ca598eb099c78a1b1cde","user":{"login":"stubailo","id":448783,"avatar_url":"https://avatars.githubusercontent.com/u/448783?v=3","gravatar_id":"","url":"https://api.github.com/users/stubailo","html_url":"https://github.com/stubailo","followers_url":"https://api.github.com/users/stubailo/followers","following_url":"https://api.github.com/users/stubailo/following{/other_user}","gists_url":"https://api.github.com/users/stubailo/gists{/gist_id}","starred_url":"https://api.github.com/users/stubailo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubailo/subscriptions","organizations_url":"https://api.github.com/users/stubailo/orgs","repos_url":"https://api.github.com/users/stubailo/repos","events_url":"https://api.github.com/users/stubailo/events{/privacy}","received_events_url":"https://api.github.com/users/stubailo/received_events","type":"User","site_admin":false},"body":"Hmm if we weren't only hitting public API endpoints, then we would initialize the github API client with this user's key. In the case when all app data is public there's no point in putting the models on the context, but I kinda like it as a way to organize things. Do you think it's confusing?","created_at":"2016-06-29T03:24:12Z","updated_at":"2016-06-29T03:24:12Z","html_url":"https://github.com/apollostack/GitHunt/pull/59#discussion_r68880098","pull_request_url":"https://api.github.com/repos/apollostack/GitHunt/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/apollostack/GitHunt/pulls/comments/68880098"},"html":{"href":"https://github.com/apollostack/GitHunt/pull/59#discussion_r68880098"},"pull_request":{"href":"https://api.github.com/repos/apollostack/GitHunt/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/apollostack/GitHunt/pulls/59","id":75560063,"html_url":"https://github.com/apollostack/GitHunt/pull/59","diff_url":"https://github.com/apollostack/GitHunt/pull/59.diff","patch_url":"https://github.com/apollostack/GitHunt/pull/59.patch","issue_url":"https://api.github.com/repos/apollostack/GitHunt/issues/59","number":59,"state":"open","locked":false,"title":"Amanda/comments page","user":{"login":"amandajliu","id":8225615,"avatar_url":"https://avatars.githubusercontent.com/u/8225615?v=3","gravatar_id":"","url":"https://api.github.com/users/amandajliu","html_url":"https://github.com/amandajliu","followers_url":"https://api.github.com/users/amandajliu/followers","following_url":"https://api.github.com/users/amandajliu/following{/other_user}","gists_url":"https://api.github.com/users/amandajliu/gists{/gist_id}","starred_url":"https://api.github.com/users/amandajliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandajliu/subscriptions","organizations_url":"https://api.github.com/users/amandajliu/orgs","repos_url":"https://api.github.com/users/amandajliu/repos","events_url":"https://api.github.com/users/amandajliu/events{/privacy}","received_events_url":"https://api.github.com/users/amandajliu/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-28T22:18:30Z","updated_at":"2016-06-29T03:24:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apollostack/GitHunt/pulls/59/commits","review_comments_url":"https://api.github.com/repos/apollostack/GitHunt/pulls/59/comments","review_comment_url":"https://api.github.com/repos/apollostack/GitHunt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apollostack/GitHunt/issues/59/comments","statuses_url":"https://api.github.com/repos/apollostack/GitHunt/statuses/0cbbdf3ee05631751d50ca598eb099c78a1b1cde","head":{"label":"apollostack:amanda/comments-page","ref":"amanda/comments-page","sha":"0cbbdf3ee05631751d50ca598eb099c78a1b1cde","user":{"login":"apollostack","id":17189275,"avatar_url":"https://avatars.githubusercontent.com/u/17189275?v=3","gravatar_id":"","url":"https://api.github.com/users/apollostack","html_url":"https://github.com/apollostack","followers_url":"https://api.github.com/users/apollostack/followers","following_url":"https://api.github.com/users/apollostack/following{/other_user}","gists_url":"https://api.github.com/users/apollostack/gists{/gist_id}","starred_url":"https://api.github.com/users/apollostack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apollostack/subscriptions","organizations_url":"https://api.github.com/users/apollostack/orgs","repos_url":"https://api.github.com/users/apollostack/repos","events_url":"https://api.github.com/users/apollostack/events{/privacy}","received_events_url":"https://api.github.com/users/apollostack/received_events","type":"Organization","site_admin":false},"repo":{"id":58781348,"name":"GitHunt","full_name":"apollostack/GitHunt","owner":{"login":"apollostack","id":17189275,"avatar_url":"https://avatars.githubusercontent.com/u/17189275?v=3","gravatar_id":"","url":"https://api.github.com/users/apollostack","html_url":"https://github.com/apollostack","followers_url":"https://api.github.com/users/apollostack/followers","following_url":"https://api.github.com/users/apollostack/following{/other_user}","gists_url":"https://api.github.com/users/apollostack/gists{/gist_id}","starred_url":"https://api.github.com/users/apollostack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apollostack/subscriptions","organizations_url":"https://api.github.com/users/apollostack/orgs","repos_url":"https://api.github.com/users/apollostack/repos","events_url":"https://api.github.com/users/apollostack/events{/privacy}","received_events_url":"https://api.github.com/users/apollostack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apollostack/GitHunt","description":"An Apollo full-stack example app: vote for your favorite GitHub repos!","fork":false,"url":"https://api.github.com/repos/apollostack/GitHunt","forks_url":"https://api.github.com/repos/apollostack/GitHunt/forks","keys_url":"https://api.github.com/repos/apollostack/GitHunt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apollostack/GitHunt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apollostack/GitHunt/teams","hooks_url":"https://api.github.com/repos/apollostack/GitHunt/hooks","issue_events_url":"https://api.github.com/repos/apollostack/GitHunt/issues/events{/number}","events_url":"https://api.github.com/repos/apollostack/GitHunt/events","assignees_url":"https://api.github.com/repos/apollostack/GitHunt/assignees{/user}","branches_url":"https://api.github.com/repos/apollostack/GitHunt/branches{/branch}","tags_url":"https://api.github.com/repos/apollostack/GitHunt/tags","blobs_url":"https://api.github.com/repos/apollostack/GitHunt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apollostack/GitHunt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apollostack/GitHunt/git/refs{/sha}","trees_url":"https://api.github.com/repos/apollostack/GitHunt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apollostack/GitHunt/statuses/{sha}","languages_url":"https://api.github.com/repos/apollostack/GitHunt/languages","stargazers_url":"https://api.github.com/repos/apollostack/GitHunt/stargazers","contributors_url":"https://api.github.com/repos/apollostack/GitHunt/contributors","subscribers_url":"https://api.github.com/repos/apollostack/GitHunt/subscribers","subscription_url":"https://api.github.com/repos/apollostack/GitHunt/subscription","commits_url":"https://api.github.com/repos/apollostack/GitHunt/commits{/sha}","git_commits_url":"https://api.github.com/repos/apollostack/GitHunt/git/commits{/sha}","comments_url":"https://api.github.com/repos/apollostack/GitHunt/comments{/number}","issue_comment_url":"https://api.github.com/repos/apollostack/GitHunt/issues/comments{/number}","contents_url":"https://api.github.com/repos/apollostack/GitHunt/contents/{+path}","compare_url":"https://api.github.com/repos/apollostack/GitHunt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apollostack/GitHunt/merges","archive_url":"https://api.github.com/repos/apollostack/GitHunt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apollostack/GitHunt/downloads","issues_url":"https://api.github.com/repos/apollostack/GitHunt/issues{/number}","pulls_url":"https://api.github.com/repos/apollostack/GitHunt/pulls{/number}","milestones_url":"https://api.github.com/repos/apollostack/GitHunt/milestones{/number}","notifications_url":"https://api.github.com/repos/apollostack/GitHunt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apollostack/GitHunt/labels{/name}","releases_url":"https://api.github.com/repos/apollostack/GitHunt/releases{/id}","deployments_url":"https://api.github.com/repos/apollostack/GitHunt/deployments","created_at":"2016-05-14T00:23:53Z","updated_at":"2016-06-28T23:12:21Z","pushed_at":"2016-06-28T22:18:30Z","git_url":"git://github.com/apollostack/GitHunt.git","ssh_url":"git@github.com:apollostack/GitHunt.git","clone_url":"https://github.com/apollostack/GitHunt.git","svn_url":"https://github.com/apollostack/GitHunt","homepage":"","size":3253,"stargazers_count":139,"watchers_count":139,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":12,"forks":24,"open_issues":12,"watchers":139,"default_branch":"master"}},"base":{"label":"apollostack:master","ref":"master","sha":"af61e7e9c92cafc67bf115c2172b04f86b1287c8","user":{"login":"apollostack","id":17189275,"avatar_url":"https://avatars.githubusercontent.com/u/17189275?v=3","gravatar_id":"","url":"https://api.github.com/users/apollostack","html_url":"https://github.com/apollostack","followers_url":"https://api.github.com/users/apollostack/followers","following_url":"https://api.github.com/users/apollostack/following{/other_user}","gists_url":"https://api.github.com/users/apollostack/gists{/gist_id}","starred_url":"https://api.github.com/users/apollostack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apollostack/subscriptions","organizations_url":"https://api.github.com/users/apollostack/orgs","repos_url":"https://api.github.com/users/apollostack/repos","events_url":"https://api.github.com/users/apollostack/events{/privacy}","received_events_url":"https://api.github.com/users/apollostack/received_events","type":"Organization","site_admin":false},"repo":{"id":58781348,"name":"GitHunt","full_name":"apollostack/GitHunt","owner":{"login":"apollostack","id":17189275,"avatar_url":"https://avatars.githubusercontent.com/u/17189275?v=3","gravatar_id":"","url":"https://api.github.com/users/apollostack","html_url":"https://github.com/apollostack","followers_url":"https://api.github.com/users/apollostack/followers","following_url":"https://api.github.com/users/apollostack/following{/other_user}","gists_url":"https://api.github.com/users/apollostack/gists{/gist_id}","starred_url":"https://api.github.com/users/apollostack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apollostack/subscriptions","organizations_url":"https://api.github.com/users/apollostack/orgs","repos_url":"https://api.github.com/users/apollostack/repos","events_url":"https://api.github.com/users/apollostack/events{/privacy}","received_events_url":"https://api.github.com/users/apollostack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apollostack/GitHunt","description":"An Apollo full-stack example app: vote for your favorite GitHub repos!","fork":false,"url":"https://api.github.com/repos/apollostack/GitHunt","forks_url":"https://api.github.com/repos/apollostack/GitHunt/forks","keys_url":"https://api.github.com/repos/apollostack/GitHunt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apollostack/GitHunt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apollostack/GitHunt/teams","hooks_url":"https://api.github.com/repos/apollostack/GitHunt/hooks","issue_events_url":"https://api.github.com/repos/apollostack/GitHunt/issues/events{/number}","events_url":"https://api.github.com/repos/apollostack/GitHunt/events","assignees_url":"https://api.github.com/repos/apollostack/GitHunt/assignees{/user}","branches_url":"https://api.github.com/repos/apollostack/GitHunt/branches{/branch}","tags_url":"https://api.github.com/repos/apollostack/GitHunt/tags","blobs_url":"https://api.github.com/repos/apollostack/GitHunt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apollostack/GitHunt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apollostack/GitHunt/git/refs{/sha}","trees_url":"https://api.github.com/repos/apollostack/GitHunt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apollostack/GitHunt/statuses/{sha}","languages_url":"https://api.github.com/repos/apollostack/GitHunt/languages","stargazers_url":"https://api.github.com/repos/apollostack/GitHunt/stargazers","contributors_url":"https://api.github.com/repos/apollostack/GitHunt/contributors","subscribers_url":"https://api.github.com/repos/apollostack/GitHunt/subscribers","subscription_url":"https://api.github.com/repos/apollostack/GitHunt/subscription","commits_url":"https://api.github.com/repos/apollostack/GitHunt/commits{/sha}","git_commits_url":"https://api.github.com/repos/apollostack/GitHunt/git/commits{/sha}","comments_url":"https://api.github.com/repos/apollostack/GitHunt/comments{/number}","issue_comment_url":"https://api.github.com/repos/apollostack/GitHunt/issues/comments{/number}","contents_url":"https://api.github.com/repos/apollostack/GitHunt/contents/{+path}","compare_url":"https://api.github.com/repos/apollostack/GitHunt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apollostack/GitHunt/merges","archive_url":"https://api.github.com/repos/apollostack/GitHunt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apollostack/GitHunt/downloads","issues_url":"https://api.github.com/repos/apollostack/GitHunt/issues{/number}","pulls_url":"https://api.github.com/repos/apollostack/GitHunt/pulls{/number}","milestones_url":"https://api.github.com/repos/apollostack/GitHunt/milestones{/number}","notifications_url":"https://api.github.com/repos/apollostack/GitHunt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apollostack/GitHunt/labels{/name}","releases_url":"https://api.github.com/repos/apollostack/GitHunt/releases{/id}","deployments_url":"https://api.github.com/repos/apollostack/GitHunt/deployments","created_at":"2016-05-14T00:23:53Z","updated_at":"2016-06-28T23:12:21Z","pushed_at":"2016-06-28T22:18:30Z","git_url":"git://github.com/apollostack/GitHunt.git","ssh_url":"git@github.com:apollostack/GitHunt.git","clone_url":"https://github.com/apollostack/GitHunt.git","svn_url":"https://github.com/apollostack/GitHunt","homepage":"","size":3253,"stargazers_count":139,"watchers_count":139,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":12,"forks":24,"open_issues":12,"watchers":139,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apollostack/GitHunt/pulls/59"},"html":{"href":"https://github.com/apollostack/GitHunt/pull/59"},"issue":{"href":"https://api.github.com/repos/apollostack/GitHunt/issues/59"},"comments":{"href":"https://api.github.com/repos/apollostack/GitHunt/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/apollostack/GitHunt/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/apollostack/GitHunt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apollostack/GitHunt/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/apollostack/GitHunt/statuses/0cbbdf3ee05631751d50ca598eb099c78a1b1cde"}}}}
{"actor":{"display_login":"stubailo"}}