New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include field information in errors #12
Comments
BTW, I will implement it if you give me the 👍 |
Yeah, go for it! Thanks |
dschenkelman
added a commit
to dschenkelman/ratify
that referenced
this issue
Oct 9, 2014
dschenkelman
added a commit
to dschenkelman/ratify
that referenced
this issue
Oct 9, 2014
dschenkelman
added a commit
to dschenkelman/ratify
that referenced
this issue
Oct 9, 2014
mac-
added a commit
that referenced
this issue
Oct 9, 2014
Fix #12. Adds friendly path to property on errors
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
Error messages on failed types do not include property name.
Example
Currently, the following validation:
Together with this payload:
Results in this response:
Proposal
The available information when creating the error message is:
The current code looks like this:
If it were updated to something like this it would provide more detailed error messages:
The text was updated successfully, but these errors were encountered: