{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/relay/issues/2417","repository_url":"https://api.github.com/repos/facebook/relay","labels_url":"https://api.github.com/repos/facebook/relay/issues/2417/labels{/name}","comments_url":"https://api.github.com/repos/facebook/relay/issues/2417/comments","events_url":"https://api.github.com/repos/facebook/relay/issues/2417/events","html_url":"https://github.com/facebook/relay/pull/2417","id":315804472,"number":2417,"title":" GraphQLIRVisitor: visit ObjectValue and ObjectFieldValue","user":{"login":"pieh","id":419821,"avatar_url":"https://avatars1.githubusercontent.com/u/419821?v=4","gravatar_id":"","url":"https://api.github.com/users/pieh","html_url":"https://github.com/pieh","followers_url":"https://api.github.com/users/pieh/followers","following_url":"https://api.github.com/users/pieh/following{/other_user}","gists_url":"https://api.github.com/users/pieh/gists{/gist_id}","starred_url":"https://api.github.com/users/pieh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieh/subscriptions","organizations_url":"https://api.github.com/users/pieh/orgs","repos_url":"https://api.github.com/users/pieh/repos","events_url":"https://api.github.com/users/pieh/events{/privacy}","received_events_url":"https://api.github.com/users/pieh/received_events","type":"User","site_admin":false},"labels":[{"id":246341366,"url":"https://api.github.com/repos/facebook/relay/labels/CLA%20Signed","name":"CLA Signed","color":"009900","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-19T09:47:36Z","updated_at":"2018-04-19T10:32:23Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/facebook/relay/pulls/2417","html_url":"https://github.com/facebook/relay/pull/2417","diff_url":"https://github.com/facebook/relay/pull/2417.diff","patch_url":"https://github.com/facebook/relay/pull/2417.patch"},"body":"This fixes variables used in InputObject not being detected in `StripUnusedVariablesTransform.js` and therefore being stripped from resulting query.\r\n\r\nBefore this:\r\n```gql\r\nquery TestQuery3(\r\n  $usedInInputObject: String!\r\n) {\r\n  items(filter: { date: $usedInInputObject }) {\r\n    date\r\n  }\r\n}\r\n```\r\n\r\nWould be compiled to (missing query argument declaration)\r\n```gql\r\nquery TestQuery3 {\r\n  items(filter: {date: $usedInInputObject}) {\r\n    date\r\n  }\r\n}\r\n````\r\n\r\nI'm not familiar with codegen part, so please advise on how to deal with how my change affected it (see RelayCodeGenerator-test.js.snap change)."},"comment":{"url":"https://api.github.com/repos/facebook/relay/issues/comments/382688209","html_url":"https://github.com/facebook/relay/pull/2417#issuecomment-382688209","issue_url":"https://api.github.com/repos/facebook/relay/issues/2417","id":382688209,"user":{"login":"pieh","id":419821,"avatar_url":"https://avatars1.githubusercontent.com/u/419821?v=4","gravatar_id":"","url":"https://api.github.com/users/pieh","html_url":"https://github.com/pieh","followers_url":"https://api.github.com/users/pieh/followers","following_url":"https://api.github.com/users/pieh/following{/other_user}","gists_url":"https://api.github.com/users/pieh/gists{/gist_id}","starred_url":"https://api.github.com/users/pieh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieh/subscriptions","organizations_url":"https://api.github.com/users/pieh/orgs","repos_url":"https://api.github.com/users/pieh/repos","events_url":"https://api.github.com/users/pieh/events{/privacy}","received_events_url":"https://api.github.com/users/pieh/received_events","type":"User","site_admin":false},"created_at":"2018-04-19T10:32:23Z","updated_at":"2018-04-19T10:32:23Z","author_association":"NONE","body":"Hm failed Travis CI build *seems* unrelated to my changes https://travis-ci.org/facebook/relay/jobs/368562847 (failed before any tests even started)"}}
{"actor":{"display_login":"pieh"}}