{"action":"created","comment":{"url":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/comments/87296078","pull_request_review_id":7914631,"id":87296078,"diff_hunk":"@@ -0,0 +1,109 @@\n+import {\n+  Document,\n+} from 'graphql';\n+\n+import graphql from './index';\n+\n+export function filter(fragment: Document, data: any): any {","path":"src/fragments.ts","position":7,"original_position":7,"commit_id":"838dc0dbc0635a397adb956260f6c869b429a5ad","original_commit_id":"838dc0dbc0635a397adb956260f6c869b429a5ad","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":"I think this will work with queries as well, so let's rename the argument to `doc`? And maybe the file as well, since it's not really fragment-specific.","created_at":"2016-11-09T22:56:36Z","updated_at":"2016-11-09T22:57:41Z","html_url":"https://github.com/apollostack/graphql-anywhere/pull/14#discussion_r87296078","pull_request_url":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/comments/87296078"},"html":{"href":"https://github.com/apollostack/graphql-anywhere/pull/14#discussion_r87296078"},"pull_request":{"href":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/14","id":92909994,"html_url":"https://github.com/apollostack/graphql-anywhere/pull/14","diff_url":"https://github.com/apollostack/graphql-anywhere/pull/14.diff","patch_url":"https://github.com/apollostack/graphql-anywhere/pull/14.patch","issue_url":"https://api.github.com/repos/apollostack/graphql-anywhere/issues/14","number":14,"state":"open","locked":false,"title":"Add various fragment utilities","user":{"login":"tmeasday","id":132554,"avatar_url":"https://avatars.githubusercontent.com/u/132554?v=3","gravatar_id":"","url":"https://api.github.com/users/tmeasday","html_url":"https://github.com/tmeasday","followers_url":"https://api.github.com/users/tmeasday/followers","following_url":"https://api.github.com/users/tmeasday/following{/other_user}","gists_url":"https://api.github.com/users/tmeasday/gists{/gist_id}","starred_url":"https://api.github.com/users/tmeasday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmeasday/subscriptions","organizations_url":"https://api.github.com/users/tmeasday/orgs","repos_url":"https://api.github.com/users/tmeasday/repos","events_url":"https://api.github.com/users/tmeasday/events{/privacy}","received_events_url":"https://api.github.com/users/tmeasday/received_events","type":"User","site_admin":false},"body":"See https://github.com/apollostack/graphql-fragments/issues/2#issuecomment-258057233 + https://github.com/apollostack/GitHunt-React/tree/fragments-from-graphql-anywhere\r\n\r\nEssentially it's the code from https://github.com/apollostack/graphql-fragments in a different form.","created_at":"2016-11-09T06:10:24Z","updated_at":"2016-11-09T22:57:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"17d1b375eb36300afa31a54d2a03bc1178df1b46","assignee":{"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},"assignees":[{"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}],"milestone":null,"commits_url":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/14/commits","review_comments_url":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/14/comments","review_comment_url":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apollostack/graphql-anywhere/issues/14/comments","statuses_url":"https://api.github.com/repos/apollostack/graphql-anywhere/statuses/838dc0dbc0635a397adb956260f6c869b429a5ad","head":{"label":"apollostack:fragment-support","ref":"fragment-support","sha":"838dc0dbc0635a397adb956260f6c869b429a5ad","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":66536361,"name":"graphql-anywhere","full_name":"apollostack/graphql-anywhere","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/graphql-anywhere","description":":icecream: Run a GraphQL query anywhere, against any data, with no schema.","fork":false,"url":"https://api.github.com/repos/apollostack/graphql-anywhere","forks_url":"https://api.github.com/repos/apollostack/graphql-anywhere/forks","keys_url":"https://api.github.com/repos/apollostack/graphql-anywhere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apollostack/graphql-anywhere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apollostack/graphql-anywhere/teams","hooks_url":"https://api.github.com/repos/apollostack/graphql-anywhere/hooks","issue_events_url":"https://api.github.com/repos/apollostack/graphql-anywhere/issues/events{/number}","events_url":"https://api.github.com/repos/apollostack/graphql-anywhere/events","assignees_url":"https://api.github.com/repos/apollostack/graphql-anywhere/assignees{/user}","branches_url":"https://api.github.com/repos/apollostack/graphql-anywhere/branches{/branch}","tags_url":"https://api.github.com/repos/apollostack/graphql-anywhere/tags","blobs_url":"https://api.github.com/repos/apollostack/graphql-anywhere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apollostack/graphql-anywhere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apollostack/graphql-anywhere/git/refs{/sha}","trees_url":"https://api.github.com/repos/apollostack/graphql-anywhere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apollostack/graphql-anywhere/statuses/{sha}","languages_url":"https://api.github.com/repos/apollostack/graphql-anywhere/languages","stargazers_url":"https://api.github.com/repos/apollostack/graphql-anywhere/stargazers","contributors_url":"https://api.github.com/repos/apollostack/graphql-anywhere/contributors","subscribers_url":"https://api.github.com/repos/apollostack/graphql-anywhere/subscribers","subscription_url":"https://api.github.com/repos/apollostack/graphql-anywhere/subscription","commits_url":"https://api.github.com/repos/apollostack/graphql-anywhere/commits{/sha}","git_commits_url":"https://api.github.com/repos/apollostack/graphql-anywhere/git/commits{/sha}","comments_url":"https://api.github.com/repos/apollostack/graphql-anywhere/comments{/number}","issue_comment_url":"https://api.github.com/repos/apollostack/graphql-anywhere/issues/comments{/number}","contents_url":"https://api.github.com/repos/apollostack/graphql-anywhere/contents/{+path}","compare_url":"https://api.github.com/repos/apollostack/graphql-anywhere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apollostack/graphql-anywhere/merges","archive_url":"https://api.github.com/repos/apollostack/graphql-anywhere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apollostack/graphql-anywhere/downloads","issues_url":"https://api.github.com/repos/apollostack/graphql-anywhere/issues{/number}","pulls_url":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls{/number}","milestones_url":"https://api.github.com/repos/apollostack/graphql-anywhere/milestones{/number}","notifications_url":"https://api.github.com/repos/apollostack/graphql-anywhere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apollostack/graphql-anywhere/labels{/name}","releases_url":"https://api.github.com/repos/apollostack/graphql-anywhere/releases{/id}","deployments_url":"https://api.github.com/repos/apollostack/graphql-anywhere/deployments","created_at":"2016-08-25T07:40:46Z","updated_at":"2016-11-08T23:55:01Z","pushed_at":"2016-11-09T06:19:02Z","git_url":"git://github.com/apollostack/graphql-anywhere.git","ssh_url":"git@github.com:apollostack/graphql-anywhere.git","clone_url":"https://github.com/apollostack/graphql-anywhere.git","svn_url":"https://github.com/apollostack/graphql-anywhere","homepage":"https://www.npmjs.com/package/graphql-anywhere","size":285,"stargazers_count":262,"watchers_count":262,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":262,"default_branch":"master"}},"base":{"label":"apollostack:master","ref":"master","sha":"5335986c60786d62734f701385648a7da59ecff1","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":66536361,"name":"graphql-anywhere","full_name":"apollostack/graphql-anywhere","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/graphql-anywhere","description":":icecream: Run a GraphQL query anywhere, against any data, with no schema.","fork":false,"url":"https://api.github.com/repos/apollostack/graphql-anywhere","forks_url":"https://api.github.com/repos/apollostack/graphql-anywhere/forks","keys_url":"https://api.github.com/repos/apollostack/graphql-anywhere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apollostack/graphql-anywhere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apollostack/graphql-anywhere/teams","hooks_url":"https://api.github.com/repos/apollostack/graphql-anywhere/hooks","issue_events_url":"https://api.github.com/repos/apollostack/graphql-anywhere/issues/events{/number}","events_url":"https://api.github.com/repos/apollostack/graphql-anywhere/events","assignees_url":"https://api.github.com/repos/apollostack/graphql-anywhere/assignees{/user}","branches_url":"https://api.github.com/repos/apollostack/graphql-anywhere/branches{/branch}","tags_url":"https://api.github.com/repos/apollostack/graphql-anywhere/tags","blobs_url":"https://api.github.com/repos/apollostack/graphql-anywhere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apollostack/graphql-anywhere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apollostack/graphql-anywhere/git/refs{/sha}","trees_url":"https://api.github.com/repos/apollostack/graphql-anywhere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apollostack/graphql-anywhere/statuses/{sha}","languages_url":"https://api.github.com/repos/apollostack/graphql-anywhere/languages","stargazers_url":"https://api.github.com/repos/apollostack/graphql-anywhere/stargazers","contributors_url":"https://api.github.com/repos/apollostack/graphql-anywhere/contributors","subscribers_url":"https://api.github.com/repos/apollostack/graphql-anywhere/subscribers","subscription_url":"https://api.github.com/repos/apollostack/graphql-anywhere/subscription","commits_url":"https://api.github.com/repos/apollostack/graphql-anywhere/commits{/sha}","git_commits_url":"https://api.github.com/repos/apollostack/graphql-anywhere/git/commits{/sha}","comments_url":"https://api.github.com/repos/apollostack/graphql-anywhere/comments{/number}","issue_comment_url":"https://api.github.com/repos/apollostack/graphql-anywhere/issues/comments{/number}","contents_url":"https://api.github.com/repos/apollostack/graphql-anywhere/contents/{+path}","compare_url":"https://api.github.com/repos/apollostack/graphql-anywhere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apollostack/graphql-anywhere/merges","archive_url":"https://api.github.com/repos/apollostack/graphql-anywhere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apollostack/graphql-anywhere/downloads","issues_url":"https://api.github.com/repos/apollostack/graphql-anywhere/issues{/number}","pulls_url":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls{/number}","milestones_url":"https://api.github.com/repos/apollostack/graphql-anywhere/milestones{/number}","notifications_url":"https://api.github.com/repos/apollostack/graphql-anywhere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apollostack/graphql-anywhere/labels{/name}","releases_url":"https://api.github.com/repos/apollostack/graphql-anywhere/releases{/id}","deployments_url":"https://api.github.com/repos/apollostack/graphql-anywhere/deployments","created_at":"2016-08-25T07:40:46Z","updated_at":"2016-11-08T23:55:01Z","pushed_at":"2016-11-09T06:19:02Z","git_url":"git://github.com/apollostack/graphql-anywhere.git","ssh_url":"git@github.com:apollostack/graphql-anywhere.git","clone_url":"https://github.com/apollostack/graphql-anywhere.git","svn_url":"https://github.com/apollostack/graphql-anywhere","homepage":"https://www.npmjs.com/package/graphql-anywhere","size":285,"stargazers_count":262,"watchers_count":262,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":262,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/14"},"html":{"href":"https://github.com/apollostack/graphql-anywhere/pull/14"},"issue":{"href":"https://api.github.com/repos/apollostack/graphql-anywhere/issues/14"},"comments":{"href":"https://api.github.com/repos/apollostack/graphql-anywhere/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apollostack/graphql-anywhere/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/apollostack/graphql-anywhere/statuses/838dc0dbc0635a397adb956260f6c869b429a5ad"}}}}
{"actor":{"display_login":"stubailo"}}