Skip to content

Commit

Permalink
Clarify "custom validation functions"
Browse files Browse the repository at this point in the history
Fixes #277
  • Loading branch information
rodaine authored Nov 26, 2024
1 parent bebe6de commit 091d36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/custom-constraints.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ requirements specific to your application.

Field-level constraints apply to specific data types within a message and can
include requirements such as minimum and maximum values, regular expressions,
and custom validation functions. Message-level constraints, on the other hand,
and [custom validation functions](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md#custom-variables-functions-and-overloads). Message-level constraints, on the other hand,
apply to the entire message, allowing for more complex validation scenarios that
depend on the relationships between fields or specific combinations of field
values.
Expand Down

0 comments on commit 091d36b

Please sign in to comment.