Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotmjackson committed Aug 30, 2023
1 parent f4d4a7e commit 4fe761b
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 54 deletions.
102 changes: 51 additions & 51 deletions internal/gen/tests/example/v1/validations.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions proto/tests/example/v1/validations.proto
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ message MsgHasRepeated {
}
unique: true,
}];
repeated string y = 2 [(buf.validate.field).repeated = {
// unique: true,
}];
repeated string y = 2 [(buf.validate.field).repeated = {unique: true}];
repeated HasMsgExprs z = 3 [(buf.validate.field).repeated = {max_items: 2}];
}

Expand Down

0 comments on commit 4fe761b

Please sign in to comment.