Skip to content

Commit

Permalink
fix map.min_pair document (#601)
Browse files Browse the repository at this point in the history
Signed-off-by: Elliot Jackson <elliot@buf.build>
Co-authored-by: Elliot Jackson <elliot@elliotmjackson.com>
  • Loading branch information
kanaksinghal and Elliot Jackson committed Sep 19, 2022
1 parent b3bc053 commit 7b3e029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ Person x = 1;
- **min_pairs/max_pairs**: these rules control how many KV pairs are contained in this field

```protobuf
// x must contain at most 3 KV pairs
// x must contain at least 3 KV pairs
map<string, uint64> x = 1 [(validate.rules).map.min_pairs = 3];
// x must contain between 5 and 10 KV pairs
Expand Down

0 comments on commit 7b3e029

Please sign in to comment.