From 56de4119d7b22858543ac2dde3d475b9aeb2779f Mon Sep 17 00:00:00 2001 From: Oliver Sun Date: Tue, 12 Sep 2023 19:28:14 -0400 Subject: [PATCH] c --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 9f219b8..448539e 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,25 @@ message Transaction { } ``` +#### Add protovalidate as a dependency + +Update `buf.yaml` to add `buf.build/bufbuild/protovalidate` to your module dependencies: + +```yaml +version: v1 +# +deps: + - buf.build/bufbuild/protovalidate +# +``` + +Ensure your dependencies are up-to-date with: + +``` +buf mod update +``` + + #### Buf managed mode `protovalidate-go` assumes the constraint extensions are imported into