Open cedricfarinazzo opened 4 years ago
This is how exceptions are treated by default.
The question I see is whether to treat ValidationError
differently from other exceptions during the resolve phase. Aside from the message being different, I would think locations would be dropped.
One argument against this feature is that this isn't an explicit validation phase.
Django ValidationError are serialized as string instead of error array.
or https://repl.it/repls/AffectionateObviousBookmark#cookbook/schema.py
For the following query:
We got the following response:
Look at the message field ...
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow)