See graphql/graphql-js#433 (comment)
Basically Lee says GraphQLScalars should only be used if the field is represented as a different underlying type, hence they shouldn't be used to validate emails and passwords, which are internally stored as strings.
See graphql/graphql-js#433 (comment)
Basically Lee says
GraphQLScalarsshould only be used if the field is represented as a different underlying type, hence they shouldn't be used to validate emails and passwords, which are internally stored as strings.