Skip to content

GraphQLScalars are not intended for email, password, etc. validation #168

Description

@jedwards1211

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions