Skip to content

Commit 5a674e3

Browse files
Fixing a comment (#398)
1 parent dd75313 commit 5a674e3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

proto/protovalidate/buf/validate/validate.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ message FieldRules {
274274
// message UpdateRequest {
275275
// // The uri rule only applies if the field is not an empty string.
276276
// string url = 1 [
277-
// (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED,
277+
// (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE,
278278
// (buf.validate.field).string.uri = true
279279
// ];
280280
// }

tools/internal/gen/buf/validate/validate.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)