{"action":"created","comment":{"url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/comments/35255205","id":35255205,"diff_hunk":"@@ -0,0 +1,6 @@\n+GraphQL::ID_TYPE = GraphQL::ScalarType.new do |t|\n+  t.name \"ID\"\n+  def t.coerce(value)\n+    value.to_s","path":"lib/graph_ql/types/id_type.rb","position":4,"original_position":4,"commit_id":"fb8219aa003351fbb60885c4d1fce4e656280977","original_commit_id":"fb8219aa003351fbb60885c4d1fce4e656280977","user":{"login":"pushrax","id":984857,"avatar_url":"https://avatars.githubusercontent.com/u/984857?v=3","gravatar_id":"","url":"https://api.github.com/users/pushrax","html_url":"https://github.com/pushrax","followers_url":"https://api.github.com/users/pushrax/followers","following_url":"https://api.github.com/users/pushrax/following{/other_user}","gists_url":"https://api.github.com/users/pushrax/gists{/gist_id}","starred_url":"https://api.github.com/users/pushrax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushrax/subscriptions","organizations_url":"https://api.github.com/users/pushrax/orgs","repos_url":"https://api.github.com/users/pushrax/repos","events_url":"https://api.github.com/users/pushrax/events{/privacy}","received_events_url":"https://api.github.com/users/pushrax/received_events","type":"User","site_admin":false},"body":"> While it is often numeric, it should always serialize as a String.","created_at":"2015-07-22T19:48:07Z","updated_at":"2015-07-22T19:48:07Z","html_url":"https://github.com/rmosolgo/graphql-ruby/pull/9#discussion_r35255205","pull_request_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/comments/35255205"},"html":{"href":"https://github.com/rmosolgo/graphql-ruby/pull/9#discussion_r35255205"},"pull_request":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/9","id":40603968,"html_url":"https://github.com/rmosolgo/graphql-ruby/pull/9","diff_url":"https://github.com/rmosolgo/graphql-ruby/pull/9.diff","patch_url":"https://github.com/rmosolgo/graphql-ruby/pull/9.patch","issue_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/9","number":9,"state":"open","locked":false,"title":"Add ID type as per the GraphQL spec","user":{"login":"pushrax","id":984857,"avatar_url":"https://avatars.githubusercontent.com/u/984857?v=3","gravatar_id":"","url":"https://api.github.com/users/pushrax","html_url":"https://github.com/pushrax","followers_url":"https://api.github.com/users/pushrax/followers","following_url":"https://api.github.com/users/pushrax/following{/other_user}","gists_url":"https://api.github.com/users/pushrax/gists{/gist_id}","starred_url":"https://api.github.com/users/pushrax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushrax/subscriptions","organizations_url":"https://api.github.com/users/pushrax/orgs","repos_url":"https://api.github.com/users/pushrax/repos","events_url":"https://api.github.com/users/pushrax/events{/privacy}","received_events_url":"https://api.github.com/users/pushrax/received_events","type":"User","site_admin":false},"body":"Ref: http://facebook.github.io/graphql/#sec-ID","created_at":"2015-07-22T19:47:43Z","updated_at":"2015-07-22T19:48:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2fc2ad179c94209e1c3a9da4da60b37d34a25d26","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/9/commits","review_comments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/9/comments","review_comment_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/9/comments","statuses_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/statuses/fb8219aa003351fbb60885c4d1fce4e656280977","head":{"label":"pushrax:add-id-type","ref":"add-id-type","sha":"fb8219aa003351fbb60885c4d1fce4e656280977","user":{"login":"pushrax","id":984857,"avatar_url":"https://avatars.githubusercontent.com/u/984857?v=3","gravatar_id":"","url":"https://api.github.com/users/pushrax","html_url":"https://github.com/pushrax","followers_url":"https://api.github.com/users/pushrax/followers","following_url":"https://api.github.com/users/pushrax/following{/other_user}","gists_url":"https://api.github.com/users/pushrax/gists{/gist_id}","starred_url":"https://api.github.com/users/pushrax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushrax/subscriptions","organizations_url":"https://api.github.com/users/pushrax/orgs","repos_url":"https://api.github.com/users/pushrax/repos","events_url":"https://api.github.com/users/pushrax/events{/privacy}","received_events_url":"https://api.github.com/users/pushrax/received_events","type":"User","site_admin":false},"repo":{"id":39523740,"name":"graphql-ruby","full_name":"pushrax/graphql-ruby","owner":{"login":"pushrax","id":984857,"avatar_url":"https://avatars.githubusercontent.com/u/984857?v=3","gravatar_id":"","url":"https://api.github.com/users/pushrax","html_url":"https://github.com/pushrax","followers_url":"https://api.github.com/users/pushrax/followers","following_url":"https://api.github.com/users/pushrax/following{/other_user}","gists_url":"https://api.github.com/users/pushrax/gists{/gist_id}","starred_url":"https://api.github.com/users/pushrax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushrax/subscriptions","organizations_url":"https://api.github.com/users/pushrax/orgs","repos_url":"https://api.github.com/users/pushrax/repos","events_url":"https://api.github.com/users/pushrax/events{/privacy}","received_events_url":"https://api.github.com/users/pushrax/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pushrax/graphql-ruby","description":"Ruby implementation of Facebook's GraphQL ","fork":true,"url":"https://api.github.com/repos/pushrax/graphql-ruby","forks_url":"https://api.github.com/repos/pushrax/graphql-ruby/forks","keys_url":"https://api.github.com/repos/pushrax/graphql-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pushrax/graphql-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pushrax/graphql-ruby/teams","hooks_url":"https://api.github.com/repos/pushrax/graphql-ruby/hooks","issue_events_url":"https://api.github.com/repos/pushrax/graphql-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/pushrax/graphql-ruby/events","assignees_url":"https://api.github.com/repos/pushrax/graphql-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/pushrax/graphql-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/pushrax/graphql-ruby/tags","blobs_url":"https://api.github.com/repos/pushrax/graphql-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pushrax/graphql-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pushrax/graphql-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/pushrax/graphql-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pushrax/graphql-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/pushrax/graphql-ruby/languages","stargazers_url":"https://api.github.com/repos/pushrax/graphql-ruby/stargazers","contributors_url":"https://api.github.com/repos/pushrax/graphql-ruby/contributors","subscribers_url":"https://api.github.com/repos/pushrax/graphql-ruby/subscribers","subscription_url":"https://api.github.com/repos/pushrax/graphql-ruby/subscription","commits_url":"https://api.github.com/repos/pushrax/graphql-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/pushrax/graphql-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/pushrax/graphql-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/pushrax/graphql-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/pushrax/graphql-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/pushrax/graphql-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pushrax/graphql-ruby/merges","archive_url":"https://api.github.com/repos/pushrax/graphql-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pushrax/graphql-ruby/downloads","issues_url":"https://api.github.com/repos/pushrax/graphql-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/pushrax/graphql-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/pushrax/graphql-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/pushrax/graphql-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pushrax/graphql-ruby/labels{/name}","releases_url":"https://api.github.com/repos/pushrax/graphql-ruby/releases{/id}","created_at":"2015-07-22T18:40:00Z","updated_at":"2015-07-22T18:40:01Z","pushed_at":"2015-07-22T19:47:00Z","git_url":"git://github.com/pushrax/graphql-ruby.git","ssh_url":"git@github.com:pushrax/graphql-ruby.git","clone_url":"https://github.com/pushrax/graphql-ruby.git","svn_url":"https://github.com/pushrax/graphql-ruby","homepage":"","size":953,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"rmosolgo:master","ref":"master","sha":"9ab3b0d16438817875fbfefac9e38b84eb718ef7","user":{"login":"rmosolgo","id":2231765,"avatar_url":"https://avatars.githubusercontent.com/u/2231765?v=3","gravatar_id":"","url":"https://api.github.com/users/rmosolgo","html_url":"https://github.com/rmosolgo","followers_url":"https://api.github.com/users/rmosolgo/followers","following_url":"https://api.github.com/users/rmosolgo/following{/other_user}","gists_url":"https://api.github.com/users/rmosolgo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmosolgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmosolgo/subscriptions","organizations_url":"https://api.github.com/users/rmosolgo/orgs","repos_url":"https://api.github.com/users/rmosolgo/repos","events_url":"https://api.github.com/users/rmosolgo/events{/privacy}","received_events_url":"https://api.github.com/users/rmosolgo/received_events","type":"User","site_admin":false},"repo":{"id":30337170,"name":"graphql-ruby","full_name":"rmosolgo/graphql-ruby","owner":{"login":"rmosolgo","id":2231765,"avatar_url":"https://avatars.githubusercontent.com/u/2231765?v=3","gravatar_id":"","url":"https://api.github.com/users/rmosolgo","html_url":"https://github.com/rmosolgo","followers_url":"https://api.github.com/users/rmosolgo/followers","following_url":"https://api.github.com/users/rmosolgo/following{/other_user}","gists_url":"https://api.github.com/users/rmosolgo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmosolgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmosolgo/subscriptions","organizations_url":"https://api.github.com/users/rmosolgo/orgs","repos_url":"https://api.github.com/users/rmosolgo/repos","events_url":"https://api.github.com/users/rmosolgo/events{/privacy}","received_events_url":"https://api.github.com/users/rmosolgo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmosolgo/graphql-ruby","description":"Ruby implementation of Facebook's GraphQL ","fork":false,"url":"https://api.github.com/repos/rmosolgo/graphql-ruby","forks_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/forks","keys_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/teams","hooks_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/hooks","issue_events_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/events","assignees_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/tags","blobs_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/languages","stargazers_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/stargazers","contributors_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/contributors","subscribers_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/subscribers","subscription_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/subscription","commits_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/merges","archive_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/downloads","issues_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/labels{/name}","releases_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/releases{/id}","created_at":"2015-02-05T04:11:22Z","updated_at":"2015-07-21T18:35:42Z","pushed_at":"2015-07-22T19:47:44Z","git_url":"git://github.com/rmosolgo/graphql-ruby.git","ssh_url":"git@github.com:rmosolgo/graphql-ruby.git","clone_url":"https://github.com/rmosolgo/graphql-ruby.git","svn_url":"https://github.com/rmosolgo/graphql-ruby","homepage":"","size":953,"stargazers_count":175,"watchers_count":175,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/9"},"html":{"href":"https://github.com/rmosolgo/graphql-ruby/pull/9"},"issue":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/9"},"comments":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/statuses/fb8219aa003351fbb60885c4d1fce4e656280977"}}}}