Open Premwoik opened 2 years ago
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.
Int
String
I figured out that the server accepts values for
Int
andString
scalars that don't follow the type defined in the schema. This PR adds simple checks toInt
andString
scalars resolvers that ensure the type is correct.