You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, validation errors resulting of JSON schema constraints doesn't include the invalid data. This is a design choice, as it's more secure. However, not everybody does care about this level of security, and having data directly in the error message could be convenient.
By the way, even without these security concerns, error message customization is nice to have, as long as it's kept simple.
The text was updated successfully, but these errors were encountered:
Error messages can be customized using settings.errors attributes. Message are formatted using str.format according to parameters that will be described in the documentation.
wyfo
linked a pull request
Oct 31, 2021
that will
close
this issue
Currently, validation errors resulting of JSON schema constraints doesn't include the invalid data. This is a design choice, as it's more secure. However, not everybody does care about this level of security, and having data directly in the error message could be convenient.
By the way, even without these security concerns, error message customization is nice to have, as long as it's kept simple.
The text was updated successfully, but these errors were encountered: