{"action":"created","comment":{"url":"https://api.github.com/repos/xitu/graphql.github.io/pulls/comments/131528075","pull_request_review_id":54520480,"id":131528075,"diff_hunk":"@@ -345,12 +338,9 @@ type GraphQLInterfaceTypeConfig = {\n };\n ```\n \n-When a field can return one of a heterogeneous set of types, a Interface type\n-is used to describe what types are possible, what fields are in common across\n-all types, as well as a function to determine which type is actually used\n-when the field is resolved.\n+当一个字段可能返回多种不同类型时，可使用接口类型 `GraphQLInterfaceType`，来描述这些可能类型有什么共同字段，也可指定 `resolveType` 函数来决定该字段实际被解析时为何种类型。","path":"site/graphql-js/APIReference-TypeSystem.md","position":252,"original_position":252,"commit_id":"837e999c20f5731c865bc1a6ce7449994b6ff750","original_commit_id":"837e999c20f5731c865bc1a6ce7449994b6ff750","user":{"login":"ydfzgyj","id":1191515,"avatar_url":"https://avatars2.githubusercontent.com/u/1191515?v=4","gravatar_id":"","url":"https://api.github.com/users/ydfzgyj","html_url":"https://github.com/ydfzgyj","followers_url":"https://api.github.com/users/ydfzgyj/followers","following_url":"https://api.github.com/users/ydfzgyj/following{/other_user}","gists_url":"https://api.github.com/users/ydfzgyj/gists{/gist_id}","starred_url":"https://api.github.com/users/ydfzgyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ydfzgyj/subscriptions","organizations_url":"https://api.github.com/users/ydfzgyj/orgs","repos_url":"https://api.github.com/users/ydfzgyj/repos","events_url":"https://api.github.com/users/ydfzgyj/events{/privacy}","received_events_url":"https://api.github.com/users/ydfzgyj/received_events","type":"User","site_admin":false},"body":"“来描述这些可能类型有什么共同字段”这一句建议强调一下“所有可用类型共用的字段”，现在和 Union Type 的描述无法体现区分度","created_at":"2017-08-05T19:24:22Z","updated_at":"2017-08-05T19:40:18Z","html_url":"https://github.com/xitu/graphql.github.io/pull/61#discussion_r131528075","pull_request_url":"https://api.github.com/repos/xitu/graphql.github.io/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/xitu/graphql.github.io/pulls/comments/131528075"},"html":{"href":"https://github.com/xitu/graphql.github.io/pull/61#discussion_r131528075"},"pull_request":{"href":"https://api.github.com/repos/xitu/graphql.github.io/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/xitu/graphql.github.io/pulls/61","id":134279714,"html_url":"https://github.com/xitu/graphql.github.io/pull/61","diff_url":"https://github.com/xitu/graphql.github.io/pull/61.diff","patch_url":"https://github.com/xitu/graphql.github.io/pull/61.patch","issue_url":"https://api.github.com/repos/xitu/graphql.github.io/issues/61","number":61,"state":"open","locked":false,"title":"APIReference-TypeSystem.md 翻译完成","user":{"login":"hikerpig","id":2259688,"avatar_url":"https://avatars1.githubusercontent.com/u/2259688?v=4","gravatar_id":"","url":"https://api.github.com/users/hikerpig","html_url":"https://github.com/hikerpig","followers_url":"https://api.github.com/users/hikerpig/followers","following_url":"https://api.github.com/users/hikerpig/following{/other_user}","gists_url":"https://api.github.com/users/hikerpig/gists{/gist_id}","starred_url":"https://api.github.com/users/hikerpig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hikerpig/subscriptions","organizations_url":"https://api.github.com/users/hikerpig/orgs","repos_url":"https://api.github.com/users/hikerpig/repos","events_url":"https://api.github.com/users/hikerpig/events{/privacy}","received_events_url":"https://api.github.com/users/hikerpig/received_events","type":"User","site_admin":false},"body":"Close #18\r\n\r\n感觉翻得有些词不达意，类似于 Composite 这种设计模式里的东西，懂的人自然懂，不懂的话照着原文里的简单说明去翻基本上也是云里雾里。\r\n\r\n麻烦校对了","created_at":"2017-08-05T04:59:07Z","updated_at":"2017-08-05T19:40:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a10d75c6c83b7cad508cc1791a5133d9c8df9123","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/xitu/graphql.github.io/pulls/61/commits","review_comments_url":"https://api.github.com/repos/xitu/graphql.github.io/pulls/61/comments","review_comment_url":"https://api.github.com/repos/xitu/graphql.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xitu/graphql.github.io/issues/61/comments","statuses_url":"https://api.github.com/repos/xitu/graphql.github.io/statuses/837e999c20f5731c865bc1a6ce7449994b6ff750","head":{"label":"hikerpig:trans/typeSystem","ref":"trans/typeSystem","sha":"837e999c20f5731c865bc1a6ce7449994b6ff750","user":{"login":"hikerpig","id":2259688,"avatar_url":"https://avatars1.githubusercontent.com/u/2259688?v=4","gravatar_id":"","url":"https://api.github.com/users/hikerpig","html_url":"https://github.com/hikerpig","followers_url":"https://api.github.com/users/hikerpig/followers","following_url":"https://api.github.com/users/hikerpig/following{/other_user}","gists_url":"https://api.github.com/users/hikerpig/gists{/gist_id}","starred_url":"https://api.github.com/users/hikerpig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hikerpig/subscriptions","organizations_url":"https://api.github.com/users/hikerpig/orgs","repos_url":"https://api.github.com/users/hikerpig/repos","events_url":"https://api.github.com/users/hikerpig/events{/privacy}","received_events_url":"https://api.github.com/users/hikerpig/received_events","type":"User","site_admin":false},"repo":{"id":98526066,"name":"graphql.github.io","full_name":"hikerpig/graphql.github.io","owner":{"login":"hikerpig","id":2259688,"avatar_url":"https://avatars1.githubusercontent.com/u/2259688?v=4","gravatar_id":"","url":"https://api.github.com/users/hikerpig","html_url":"https://github.com/hikerpig","followers_url":"https://api.github.com/users/hikerpig/followers","following_url":"https://api.github.com/users/hikerpig/following{/other_user}","gists_url":"https://api.github.com/users/hikerpig/gists{/gist_id}","starred_url":"https://api.github.com/users/hikerpig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hikerpig/subscriptions","organizations_url":"https://api.github.com/users/hikerpig/orgs","repos_url":"https://api.github.com/users/hikerpig/repos","events_url":"https://api.github.com/users/hikerpig/events{/privacy}","received_events_url":"https://api.github.com/users/hikerpig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hikerpig/graphql.github.io","description":"GraphQL Documentation at graphql.org","fork":true,"url":"https://api.github.com/repos/hikerpig/graphql.github.io","forks_url":"https://api.github.com/repos/hikerpig/graphql.github.io/forks","keys_url":"https://api.github.com/repos/hikerpig/graphql.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hikerpig/graphql.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hikerpig/graphql.github.io/teams","hooks_url":"https://api.github.com/repos/hikerpig/graphql.github.io/hooks","issue_events_url":"https://api.github.com/repos/hikerpig/graphql.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/hikerpig/graphql.github.io/events","assignees_url":"https://api.github.com/repos/hikerpig/graphql.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/hikerpig/graphql.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/hikerpig/graphql.github.io/tags","blobs_url":"https://api.github.com/repos/hikerpig/graphql.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hikerpig/graphql.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hikerpig/graphql.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/hikerpig/graphql.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hikerpig/graphql.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/hikerpig/graphql.github.io/languages","stargazers_url":"https://api.github.com/repos/hikerpig/graphql.github.io/stargazers","contributors_url":"https://api.github.com/repos/hikerpig/graphql.github.io/contributors","subscribers_url":"https://api.github.com/repos/hikerpig/graphql.github.io/subscribers","subscription_url":"https://api.github.com/repos/hikerpig/graphql.github.io/subscription","commits_url":"https://api.github.com/repos/hikerpig/graphql.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/hikerpig/graphql.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/hikerpig/graphql.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/hikerpig/graphql.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/hikerpig/graphql.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/hikerpig/graphql.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hikerpig/graphql.github.io/merges","archive_url":"https://api.github.com/repos/hikerpig/graphql.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hikerpig/graphql.github.io/downloads","issues_url":"https://api.github.com/repos/hikerpig/graphql.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/hikerpig/graphql.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/hikerpig/graphql.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/hikerpig/graphql.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hikerpig/graphql.github.io/labels{/name}","releases_url":"https://api.github.com/repos/hikerpig/graphql.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/hikerpig/graphql.github.io/deployments","created_at":"2017-07-27T11:00:35Z","updated_at":"2017-07-27T11:00:37Z","pushed_at":"2017-08-05T12:17:32Z","git_url":"git://github.com/hikerpig/graphql.github.io.git","ssh_url":"git@github.com:hikerpig/graphql.github.io.git","clone_url":"https://github.com/hikerpig/graphql.github.io.git","svn_url":"https://github.com/hikerpig/graphql.github.io","homepage":null,"size":10902,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"zh-Hans"}},"base":{"label":"xitu:zh-Hans","ref":"zh-Hans","sha":"34e33a65f4785328f4b43d6bcd12add7cdb2ee47","user":{"login":"xitu","id":10482599,"avatar_url":"https://avatars2.githubusercontent.com/u/10482599?v=4","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"repo":{"id":97575269,"name":"graphql.github.io","full_name":"xitu/graphql.github.io","owner":{"login":"xitu","id":10482599,"avatar_url":"https://avatars2.githubusercontent.com/u/10482599?v=4","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xitu/graphql.github.io","description":"GraphQL Documentation at graphql.org","fork":true,"url":"https://api.github.com/repos/xitu/graphql.github.io","forks_url":"https://api.github.com/repos/xitu/graphql.github.io/forks","keys_url":"https://api.github.com/repos/xitu/graphql.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xitu/graphql.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xitu/graphql.github.io/teams","hooks_url":"https://api.github.com/repos/xitu/graphql.github.io/hooks","issue_events_url":"https://api.github.com/repos/xitu/graphql.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/xitu/graphql.github.io/events","assignees_url":"https://api.github.com/repos/xitu/graphql.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/xitu/graphql.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/xitu/graphql.github.io/tags","blobs_url":"https://api.github.com/repos/xitu/graphql.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xitu/graphql.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xitu/graphql.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/xitu/graphql.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xitu/graphql.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/xitu/graphql.github.io/languages","stargazers_url":"https://api.github.com/repos/xitu/graphql.github.io/stargazers","contributors_url":"https://api.github.com/repos/xitu/graphql.github.io/contributors","subscribers_url":"https://api.github.com/repos/xitu/graphql.github.io/subscribers","subscription_url":"https://api.github.com/repos/xitu/graphql.github.io/subscription","commits_url":"https://api.github.com/repos/xitu/graphql.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/xitu/graphql.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/xitu/graphql.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/xitu/graphql.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/xitu/graphql.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/xitu/graphql.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xitu/graphql.github.io/merges","archive_url":"https://api.github.com/repos/xitu/graphql.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xitu/graphql.github.io/downloads","issues_url":"https://api.github.com/repos/xitu/graphql.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/xitu/graphql.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/xitu/graphql.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/xitu/graphql.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xitu/graphql.github.io/labels{/name}","releases_url":"https://api.github.com/repos/xitu/graphql.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/xitu/graphql.github.io/deployments","created_at":"2017-07-18T08:43:19Z","updated_at":"2017-08-02T15:08:21Z","pushed_at":"2017-08-05T18:39:47Z","git_url":"git://github.com/xitu/graphql.github.io.git","ssh_url":"git@github.com:xitu/graphql.github.io.git","clone_url":"https://github.com/xitu/graphql.github.io.git","svn_url":"https://github.com/xitu/graphql.github.io","homepage":null,"size":10869,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":48,"forks":10,"open_issues":48,"watchers":12,"default_branch":"zh-Hans"}},"_links":{"self":{"href":"https://api.github.com/repos/xitu/graphql.github.io/pulls/61"},"html":{"href":"https://github.com/xitu/graphql.github.io/pull/61"},"issue":{"href":"https://api.github.com/repos/xitu/graphql.github.io/issues/61"},"comments":{"href":"https://api.github.com/repos/xitu/graphql.github.io/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/xitu/graphql.github.io/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/xitu/graphql.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xitu/graphql.github.io/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/xitu/graphql.github.io/statuses/837e999c20f5731c865bc1a6ce7449994b6ff750"}}}}
{"actor":{"display_login":"ydfzgyj"}}