Currently our Scalar handling is not correct in several aspects: - `parseLiteral` should return null if it can't be parsed and not throw an Exception. `ArgumentsOfCorrectType` will check that the type is correct. - It is not allowed to throw away some infos when coercing. For example "124.3" is not a valid value for Int. Instead an Error must be thrown. See https://github.com/graphql-java/graphql-java/issues/171 and https://github.com/graphql/graphql-js/issues/827 - NonNull Handling Error: https://github.com/graphql-java/graphql-java/issues/438
Activity
andimarek commentedon May 21, 2017
Here is a test illustrating one of the current problems: be44723
parseLiteralofGraphQLIntthrows an exception instead of returning null.andimarek commentedon May 23, 2017
#455 fixes everything except NonNull Handling error (#438)
andimarek commentedon May 24, 2017
closing it ... #438 is still open and will be handled there