Skip to content

Custom data in mutation errors #141

Closed
@defrex

Description

@defrex

I'd like my mutation to error out, and pass custom data in the error object. The only way to return an error from a mutation seems to be to literally raise a python error without catching it.

This would be useful, for example, for form validation.

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