graphql-erlang icon indicating copy to clipboard operation
graphql-erlang copied to clipboard

Ensure that values of scalars `String` and `Int` have the correct type

Open Premwoik opened this issue 3 years ago • 0 comments

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.

Premwoik avatar Nov 19 '21 07:11 Premwoik