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