{"action":"created","comment":{"url":"https://api.github.com/repos/artsy/metaphysics/pulls/comments/49381584","id":49381584,"diff_hunk":"@@ -6,67 +6,72 @@ import {\n   GraphQLObjectType,\n   GraphQLString,\n   GraphQLBoolean,\n-  GraphQLNonNull\n+  GraphQLNonNull,\n } from 'graphql';\n \n-let FairType = new GraphQLObjectType({\n+const FairType = new GraphQLObjectType({\n   name: 'Fair',\n   fields: () => ({\n-    cached: cached,\n+    cached,\n     _id: {\n-      type: GraphQLString\n+      type: GraphQLString,\n     },\n     id: {\n-      type: GraphQLString\n+      type: GraphQLString,\n     },\n     profile: {\n       type: Profile.type,\n       resolve: ({ default_profile_id, organizer }) => {\n-        let id = default_profile_id || organizer && organizer.profile_id;\n+        const id = default_profile_id || organizer && organizer.profile_id;\n         return gravity(`profile/${id}`);\n-      }\n+      },\n     },\n     has_full_feature: {\n-      type: GraphQLBoolean\n+      type: GraphQLBoolean,\n     },\n     href: {\n       type: GraphQLString,\n       resolve: ({ default_profile_id, organizer }) => {\n-        let id = default_profile_id || organizer && organizer.profile_id;\n+        const id = default_profile_id || organizer && organizer.profile_id;\n         return `/${id}`;\n-      }\n+      },\n     },\n     start_at: date,\n     end_at: date,\n     name: {\n-      type: GraphQLString\n+      type: GraphQLString,\n     },\n     published: {\n-      type: GraphQLBoolean\n+      type: GraphQLBoolean,\n+      deprecationReason: 'Prefix Boolean returning fields with `is_`',","path":"schema/fair.js","position":53,"original_position":53,"commit_id":"d6025dd93e72560876b5a409fc092780d21432dc","original_commit_id":"d6025dd93e72560876b5a409fc092780d21432dc","user":{"login":"craigspaeth","id":555859,"avatar_url":"https://avatars.githubusercontent.com/u/555859?v=3","gravatar_id":"","url":"https://api.github.com/users/craigspaeth","html_url":"https://github.com/craigspaeth","followers_url":"https://api.github.com/users/craigspaeth/followers","following_url":"https://api.github.com/users/craigspaeth/following{/other_user}","gists_url":"https://api.github.com/users/craigspaeth/gists{/gist_id}","starred_url":"https://api.github.com/users/craigspaeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigspaeth/subscriptions","organizations_url":"https://api.github.com/users/craigspaeth/orgs","repos_url":"https://api.github.com/users/craigspaeth/repos","events_url":"https://api.github.com/users/craigspaeth/events{/privacy}","received_events_url":"https://api.github.com/users/craigspaeth/received_events","type":"User","site_admin":false},"body":"w00t w00t! Was curious what GraphQL's deprecations looked like in implementation.","created_at":"2016-01-11T21:30:39Z","updated_at":"2016-01-11T21:30:39Z","html_url":"https://github.com/artsy/metaphysics/pull/73#discussion_r49381584","pull_request_url":"https://api.github.com/repos/artsy/metaphysics/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/artsy/metaphysics/pulls/comments/49381584"},"html":{"href":"https://github.com/artsy/metaphysics/pull/73#discussion_r49381584"},"pull_request":{"href":"https://api.github.com/repos/artsy/metaphysics/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/artsy/metaphysics/pulls/73","id":55674232,"html_url":"https://github.com/artsy/metaphysics/pull/73","diff_url":"https://github.com/artsy/metaphysics/pull/73.diff","patch_url":"https://github.com/artsy/metaphysics/pull/73.patch","issue_url":"https://api.github.com/repos/artsy/metaphysics/issues/73","number":73,"state":"closed","locked":false,"title":"@mzikherman: Adds eslint; fix lint errors","user":{"login":"dzucconi","id":112297,"avatar_url":"https://avatars.githubusercontent.com/u/112297?v=3","gravatar_id":"","url":"https://api.github.com/users/dzucconi","html_url":"https://github.com/dzucconi","followers_url":"https://api.github.com/users/dzucconi/followers","following_url":"https://api.github.com/users/dzucconi/following{/other_user}","gists_url":"https://api.github.com/users/dzucconi/gists{/gist_id}","starred_url":"https://api.github.com/users/dzucconi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzucconi/subscriptions","organizations_url":"https://api.github.com/users/dzucconi/orgs","repos_url":"https://api.github.com/users/dzucconi/repos","events_url":"https://api.github.com/users/dzucconi/events{/privacy}","received_events_url":"https://api.github.com/users/dzucconi/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-11T20:36:58Z","updated_at":"2016-01-11T21:30:39Z","closed_at":"2016-01-11T21:23:30Z","merged_at":"2016-01-11T21:23:30Z","merge_commit_sha":"93b7dd47264492c3fa8e7c98ca61dd738e4e34aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/artsy/metaphysics/pulls/73/commits","review_comments_url":"https://api.github.com/repos/artsy/metaphysics/pulls/73/comments","review_comment_url":"https://api.github.com/repos/artsy/metaphysics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/artsy/metaphysics/issues/73/comments","statuses_url":"https://api.github.com/repos/artsy/metaphysics/statuses/d6025dd93e72560876b5a409fc092780d21432dc","head":{"label":"dzucconi:dev","ref":"dev","sha":"d6025dd93e72560876b5a409fc092780d21432dc","user":{"login":"dzucconi","id":112297,"avatar_url":"https://avatars.githubusercontent.com/u/112297?v=3","gravatar_id":"","url":"https://api.github.com/users/dzucconi","html_url":"https://github.com/dzucconi","followers_url":"https://api.github.com/users/dzucconi/followers","following_url":"https://api.github.com/users/dzucconi/following{/other_user}","gists_url":"https://api.github.com/users/dzucconi/gists{/gist_id}","starred_url":"https://api.github.com/users/dzucconi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzucconi/subscriptions","organizations_url":"https://api.github.com/users/dzucconi/orgs","repos_url":"https://api.github.com/users/dzucconi/repos","events_url":"https://api.github.com/users/dzucconi/events{/privacy}","received_events_url":"https://api.github.com/users/dzucconi/received_events","type":"User","site_admin":false},"repo":{"id":46584765,"name":"metaphysics","full_name":"dzucconi/metaphysics","owner":{"login":"dzucconi","id":112297,"avatar_url":"https://avatars.githubusercontent.com/u/112297?v=3","gravatar_id":"","url":"https://api.github.com/users/dzucconi","html_url":"https://github.com/dzucconi","followers_url":"https://api.github.com/users/dzucconi/followers","following_url":"https://api.github.com/users/dzucconi/following{/other_user}","gists_url":"https://api.github.com/users/dzucconi/gists{/gist_id}","starred_url":"https://api.github.com/users/dzucconi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzucconi/subscriptions","organizations_url":"https://api.github.com/users/dzucconi/orgs","repos_url":"https://api.github.com/users/dzucconi/repos","events_url":"https://api.github.com/users/dzucconi/events{/privacy}","received_events_url":"https://api.github.com/users/dzucconi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dzucconi/metaphysics","description":"Artsy's GraphQL API","fork":true,"url":"https://api.github.com/repos/dzucconi/metaphysics","forks_url":"https://api.github.com/repos/dzucconi/metaphysics/forks","keys_url":"https://api.github.com/repos/dzucconi/metaphysics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dzucconi/metaphysics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dzucconi/metaphysics/teams","hooks_url":"https://api.github.com/repos/dzucconi/metaphysics/hooks","issue_events_url":"https://api.github.com/repos/dzucconi/metaphysics/issues/events{/number}","events_url":"https://api.github.com/repos/dzucconi/metaphysics/events","assignees_url":"https://api.github.com/repos/dzucconi/metaphysics/assignees{/user}","branches_url":"https://api.github.com/repos/dzucconi/metaphysics/branches{/branch}","tags_url":"https://api.github.com/repos/dzucconi/metaphysics/tags","blobs_url":"https://api.github.com/repos/dzucconi/metaphysics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dzucconi/metaphysics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dzucconi/metaphysics/git/refs{/sha}","trees_url":"https://api.github.com/repos/dzucconi/metaphysics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dzucconi/metaphysics/statuses/{sha}","languages_url":"https://api.github.com/repos/dzucconi/metaphysics/languages","stargazers_url":"https://api.github.com/repos/dzucconi/metaphysics/stargazers","contributors_url":"https://api.github.com/repos/dzucconi/metaphysics/contributors","subscribers_url":"https://api.github.com/repos/dzucconi/metaphysics/subscribers","subscription_url":"https://api.github.com/repos/dzucconi/metaphysics/subscription","commits_url":"https://api.github.com/repos/dzucconi/metaphysics/commits{/sha}","git_commits_url":"https://api.github.com/repos/dzucconi/metaphysics/git/commits{/sha}","comments_url":"https://api.github.com/repos/dzucconi/metaphysics/comments{/number}","issue_comment_url":"https://api.github.com/repos/dzucconi/metaphysics/issues/comments{/number}","contents_url":"https://api.github.com/repos/dzucconi/metaphysics/contents/{+path}","compare_url":"https://api.github.com/repos/dzucconi/metaphysics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dzucconi/metaphysics/merges","archive_url":"https://api.github.com/repos/dzucconi/metaphysics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dzucconi/metaphysics/downloads","issues_url":"https://api.github.com/repos/dzucconi/metaphysics/issues{/number}","pulls_url":"https://api.github.com/repos/dzucconi/metaphysics/pulls{/number}","milestones_url":"https://api.github.com/repos/dzucconi/metaphysics/milestones{/number}","notifications_url":"https://api.github.com/repos/dzucconi/metaphysics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dzucconi/metaphysics/labels{/name}","releases_url":"https://api.github.com/repos/dzucconi/metaphysics/releases{/id}","created_at":"2015-11-20T20:22:17Z","updated_at":"2015-11-20T20:22:18Z","pushed_at":"2016-01-11T20:39:51Z","git_url":"git://github.com/dzucconi/metaphysics.git","ssh_url":"git@github.com:dzucconi/metaphysics.git","clone_url":"https://github.com/dzucconi/metaphysics.git","svn_url":"https://github.com/dzucconi/metaphysics","homepage":"","size":159,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"artsy:master","ref":"master","sha":"416b81800b14e975943fe08ed05fc22e3a2ee684","user":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"repo":{"id":42728510,"name":"metaphysics","full_name":"artsy/metaphysics","owner":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artsy/metaphysics","description":"Artsy's GraphQL API","fork":false,"url":"https://api.github.com/repos/artsy/metaphysics","forks_url":"https://api.github.com/repos/artsy/metaphysics/forks","keys_url":"https://api.github.com/repos/artsy/metaphysics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artsy/metaphysics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artsy/metaphysics/teams","hooks_url":"https://api.github.com/repos/artsy/metaphysics/hooks","issue_events_url":"https://api.github.com/repos/artsy/metaphysics/issues/events{/number}","events_url":"https://api.github.com/repos/artsy/metaphysics/events","assignees_url":"https://api.github.com/repos/artsy/metaphysics/assignees{/user}","branches_url":"https://api.github.com/repos/artsy/metaphysics/branches{/branch}","tags_url":"https://api.github.com/repos/artsy/metaphysics/tags","blobs_url":"https://api.github.com/repos/artsy/metaphysics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artsy/metaphysics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artsy/metaphysics/git/refs{/sha}","trees_url":"https://api.github.com/repos/artsy/metaphysics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artsy/metaphysics/statuses/{sha}","languages_url":"https://api.github.com/repos/artsy/metaphysics/languages","stargazers_url":"https://api.github.com/repos/artsy/metaphysics/stargazers","contributors_url":"https://api.github.com/repos/artsy/metaphysics/contributors","subscribers_url":"https://api.github.com/repos/artsy/metaphysics/subscribers","subscription_url":"https://api.github.com/repos/artsy/metaphysics/subscription","commits_url":"https://api.github.com/repos/artsy/metaphysics/commits{/sha}","git_commits_url":"https://api.github.com/repos/artsy/metaphysics/git/commits{/sha}","comments_url":"https://api.github.com/repos/artsy/metaphysics/comments{/number}","issue_comment_url":"https://api.github.com/repos/artsy/metaphysics/issues/comments{/number}","contents_url":"https://api.github.com/repos/artsy/metaphysics/contents/{+path}","compare_url":"https://api.github.com/repos/artsy/metaphysics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artsy/metaphysics/merges","archive_url":"https://api.github.com/repos/artsy/metaphysics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artsy/metaphysics/downloads","issues_url":"https://api.github.com/repos/artsy/metaphysics/issues{/number}","pulls_url":"https://api.github.com/repos/artsy/metaphysics/pulls{/number}","milestones_url":"https://api.github.com/repos/artsy/metaphysics/milestones{/number}","notifications_url":"https://api.github.com/repos/artsy/metaphysics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artsy/metaphysics/labels{/name}","releases_url":"https://api.github.com/repos/artsy/metaphysics/releases{/id}","created_at":"2015-09-18T14:51:48Z","updated_at":"2016-01-11T21:23:31Z","pushed_at":"2016-01-11T21:23:30Z","git_url":"git://github.com/artsy/metaphysics.git","ssh_url":"git@github.com:artsy/metaphysics.git","clone_url":"https://github.com/artsy/metaphysics.git","svn_url":"https://github.com/artsy/metaphysics","homepage":"","size":161,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/artsy/metaphysics/pulls/73"},"html":{"href":"https://github.com/artsy/metaphysics/pull/73"},"issue":{"href":"https://api.github.com/repos/artsy/metaphysics/issues/73"},"comments":{"href":"https://api.github.com/repos/artsy/metaphysics/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/artsy/metaphysics/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/artsy/metaphysics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/artsy/metaphysics/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/artsy/metaphysics/statuses/d6025dd93e72560876b5a409fc092780d21432dc"}}}}