omarish/mutations

the raise_on_error flag causes ValidationErrors raised in validator functions to be swallowed

Closed this issue · 1 comments

As you can see on this line, the messages generated and passed to ValidationError exceptions are overwritten with 'invalid_inputs', which is not particularly useful.

raise error.ValidationError('invalid_inputs')

Good catch. Feel free to open a PR that fixes this, else I can have a look when I have a few free minutes. Thanks for reporting the issue.