{"action":"created","issue":{"url":"https://api.github.com/repos/Youshido/GraphQL/issues/72","repository_url":"https://api.github.com/repos/Youshido/GraphQL","labels_url":"https://api.github.com/repos/Youshido/GraphQL/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/Youshido/GraphQL/issues/72/comments","events_url":"https://api.github.com/repos/Youshido/GraphQL/issues/72/events","html_url":"https://github.com/Youshido/GraphQL/issues/72","id":186282017,"number":72,"title":"Non-null field can return null in response","user":{"login":"svrcekmichal","id":9148702,"avatar_url":"https://avatars.githubusercontent.com/u/9148702?v=3","gravatar_id":"","url":"https://api.github.com/users/svrcekmichal","html_url":"https://github.com/svrcekmichal","followers_url":"https://api.github.com/users/svrcekmichal/followers","following_url":"https://api.github.com/users/svrcekmichal/following{/other_user}","gists_url":"https://api.github.com/users/svrcekmichal/gists{/gist_id}","starred_url":"https://api.github.com/users/svrcekmichal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svrcekmichal/subscriptions","organizations_url":"https://api.github.com/users/svrcekmichal/orgs","repos_url":"https://api.github.com/users/svrcekmichal/repos","events_url":"https://api.github.com/users/svrcekmichal/events{/privacy}","received_events_url":"https://api.github.com/users/svrcekmichal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-31T13:22:53Z","updated_at":"2016-11-04T11:41:42Z","closed_at":null,"body":"tried on last version\r\n\r\nschema:\r\n```\r\ntype Query {\r\n  user: User\r\n} \r\ntype User {\r\n  key: Int!\r\n}\r\n```\r\n\r\nquery:\r\n```\r\n{\r\n  user {\r\n    key \r\n  }\r\n}\r\n```\r\n\r\nIf i user `graphql-js`:\r\n```\r\n{\r\n  \"data\": {\r\n    \"user\": null\r\n  },\r\n  \"errors\": [\r\n    {\r\n      \"message\": \"Cannot return null for non-nullable field User.key.\",\r\n      \"locations\": [\r\n        {\r\n          \"line\": 3,\r\n          \"column\": 5\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\nWith this package:\r\n```\r\n{\r\n  \"data\": {\r\n    \"user\": {\r\n      \"key\": null\r\n    }\r\n  }\r\n}\r\n```\r\nThere is no error thrown\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Youshido/GraphQL/issues/comments/258410639","html_url":"https://github.com/Youshido/GraphQL/issues/72#issuecomment-258410639","issue_url":"https://api.github.com/repos/Youshido/GraphQL/issues/72","id":258410639,"user":{"login":"Naoto-Ida","id":7748110,"avatar_url":"https://avatars.githubusercontent.com/u/7748110?v=3","gravatar_id":"","url":"https://api.github.com/users/Naoto-Ida","html_url":"https://github.com/Naoto-Ida","followers_url":"https://api.github.com/users/Naoto-Ida/followers","following_url":"https://api.github.com/users/Naoto-Ida/following{/other_user}","gists_url":"https://api.github.com/users/Naoto-Ida/gists{/gist_id}","starred_url":"https://api.github.com/users/Naoto-Ida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naoto-Ida/subscriptions","organizations_url":"https://api.github.com/users/Naoto-Ida/orgs","repos_url":"https://api.github.com/users/Naoto-Ida/repos","events_url":"https://api.github.com/users/Naoto-Ida/events{/privacy}","received_events_url":"https://api.github.com/users/Naoto-Ida/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T11:41:42Z","updated_at":"2016-11-04T11:41:42Z","body":"I'm really interested in contributing to this lib. I'm going to check it out :)\r\n(Ex. mainly PHP guy who jumped on the JS implementation and am now interested in a PHP implementation...)"}}
{"actor":{"display_login":"Naoto-Ida"}}