generated from SpineEventEngine/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
We need to review the error messages that are set as default by Policy
classes in the validation
module. An error message in its default syntax should be more helpful and tell not only about the fact and nature of the error, but give:
- A field name or a combination of fields that are in error. Message-wide validation options like
required_field
may involve more than one field. - A value of a field or a combination of values that produce an error. Now some policies, like
PatternPolicy
simply say"String should match regex."
. Which string? I what field? Which regex? We need to be more helpful in cases like this.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
📋 Backlog