-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Question
For validation errors it will be very helpful to specify the field where the validation failed (to highlight it on the form for example).
Currently the situation looks like this:
- The path contains just the mutation name, for example for the empty email it's like so:
"path": ["userSignUp"]. Would be great to have"path": ["userSignUp", "email"] - The attempt to build the error manually with
rescue_from ActiveModel::ValidationError { ... }in the schema doesn't seem to be catching this.
What's the proper way to do it?
Thanks!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request