Skip to content

Commit

Permalink
Mark FieldConstraints deleted values as reserved (#315)
Browse files Browse the repository at this point in the history
In the previous change, the FieldConstraints fields `skipped` and
`ignore_empty` were removed, however they were not reserved.
  • Loading branch information
pkwarren authored Feb 19, 2025
1 parent ca26469 commit 7ce9864
Show file tree
Hide file tree
Showing 2 changed files with 3,072 additions and 3,067 deletions.
3 changes: 3 additions & 0 deletions proto/protovalidate/buf/validate/validate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ message FieldConstraints {
DurationRules duration = 21;
TimestampRules timestamp = 22;
}

reserved 24, 26;
reserved "skipped", "ignore_empty";
}

// PredefinedConstraints are custom constraints that can be re-used with
Expand Down
Loading

0 comments on commit 7ce9864

Please sign in to comment.