Skip to content
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

Update _payload-option.rst.inc #5217

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions reference/constraints/_payload-option.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ payload

This option can be used to attach arbitrary domain-specific data to a constraint.
The configured payload is not used by the Validator component, but its processing
is completely up to.
is completely up to you.

For example, you may want to used
For example, you may want to use
:doc:`several error levels </cookbook/validation/severity>` to present failed
constraint differently in the front-end depending on the severity of the
constraints differently in the front-end depending on the severity of the
error.