Skip to content

Throwing errors from parseLiteral #910

@Cardinal90

Description

@Cardinal90

After 0.10.1 throwing GraphQLError from parseLiteral function in a custom scalar type leads to unhandled promise rejection. Tracked it down to this commit: 62619df#diff-e896d5930c71857fc9566b22defba666
Parsing has a try-catch block around it, but validation does not. Doesn't seem like it was intended, considering it says "refactor".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions