graphql-erlang
graphql-erlang copied to clipboard
Ensure that values of scalars `String` and `Int` have the correct type
I figured out that the server accepts values for Int
and String
scalars that don't follow the type defined in the schema.
This PR adds simple checks to Int
and String
scalars resolvers that ensure the type is correct.