You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FIX] Throw field errors when failing to coerce Int/Float.
As illustrated by #391, when a value is provided for a field of type Int which cannot be represented by Int (e.g. a 64bit value is provided to the 32bit Int type), then the spec claims a field-error should be raised however currently `null` is returned directly instead.
Spec: https://facebook.github.io/graphql/#sec-Int
This updates to throw meaningful error messages when invalid Int and Float values cannot be coerced without losing information.
0 commit comments