{"action":"created","issue":{"url":"https://api.github.com/repos/graphql/graphql-js/issues/553","repository_url":"https://api.github.com/repos/graphql/graphql-js","labels_url":"https://api.github.com/repos/graphql/graphql-js/issues/553/labels{/name}","comments_url":"https://api.github.com/repos/graphql/graphql-js/issues/553/comments","events_url":"https://api.github.com/repos/graphql/graphql-js/issues/553/events","html_url":"https://github.com/graphql/graphql-js/pull/553","id":186461532,"number":553,"title":"Enforces input coercion rules.","user":{"login":"leebyron","id":50130,"avatar_url":"https://avatars.githubusercontent.com/u/50130?v=3","gravatar_id":"","url":"https://api.github.com/users/leebyron","html_url":"https://github.com/leebyron","followers_url":"https://api.github.com/users/leebyron/followers","following_url":"https://api.github.com/users/leebyron/following{/other_user}","gists_url":"https://api.github.com/users/leebyron/gists{/gist_id}","starred_url":"https://api.github.com/users/leebyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leebyron/subscriptions","organizations_url":"https://api.github.com/users/leebyron/orgs","repos_url":"https://api.github.com/users/leebyron/repos","events_url":"https://api.github.com/users/leebyron/events{/privacy}","received_events_url":"https://api.github.com/users/leebyron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-01T05:23:03Z","updated_at":"2016-11-01T06:20:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/graphql/graphql-js/pulls/553","html_url":"https://github.com/graphql/graphql-js/pull/553","diff_url":"https://github.com/graphql/graphql-js/pull/553.diff","patch_url":"https://github.com/graphql/graphql-js/pull/553.patch"},"body":"Before this diff, bad input to arguments and variables was often ignored and replaced with `null` rather than rejected. Now that `null` has a semantic meaning, and thanks to some recent changes to the spec (https://github.com/facebook/graphql/pull/221) - changes are necessary in order to enforce the stricter coercion rules.\r\n\r\nThis diff does the following:\r\n\r\n* Implements the CoerceArgumentValues as described in the spec.\r\n* Implements the CoerceVariablesValues as described in the spec.\r\n* Alters valueFromAST and coerceValue (dual functions) to strictly enforce coercion, returning `undefined` implicitly when they fail to do so. It also fixes issues where undefined returns were being ignored as items in a list or fields in an input object."},"comment":{"url":"https://api.github.com/repos/graphql/graphql-js/issues/comments/257497178","html_url":"https://github.com/graphql/graphql-js/pull/553#issuecomment-257497178","issue_url":"https://api.github.com/repos/graphql/graphql-js/issues/553","id":257497178,"user":{"login":"leebyron","id":50130,"avatar_url":"https://avatars.githubusercontent.com/u/50130?v=3","gravatar_id":"","url":"https://api.github.com/users/leebyron","html_url":"https://github.com/leebyron","followers_url":"https://api.github.com/users/leebyron/followers","following_url":"https://api.github.com/users/leebyron/following{/other_user}","gists_url":"https://api.github.com/users/leebyron/gists{/gist_id}","starred_url":"https://api.github.com/users/leebyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leebyron/subscriptions","organizations_url":"https://api.github.com/users/leebyron/orgs","repos_url":"https://api.github.com/users/leebyron/repos","events_url":"https://api.github.com/users/leebyron/events{/privacy}","received_events_url":"https://api.github.com/users/leebyron/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T06:20:04Z","updated_at":"2016-11-01T06:20:04Z","body":"Some of this ends up being follow-up to @langpavel's #544 as edges cases with support for null interrelates to the strict coercion rules."}}
{"actor":{"display_login":"leebyron"}}