bufbuild / protovalidate-go

Protocol Buffer Validation for Go
https://pkg.go.dev/github.com/bufbuild/protovalidate-go
Apache License 2.0
294 stars 19 forks source link

gen proto issue #104

Closed tocomp closed 9 months ago

tocomp commented 9 months ago

Which protoc extension is used for protovalidate-go generation? The github.com/envoyproxy/protoc-gen-validate/validate tool no longer exists

nicksnyder commented 9 months ago

The protovalidate project does not have a code-generation component, the validation rules are determined at runtime via proto reflection by the libraries.

The README documentation on protovalidate and protovalidate-go walks through the process of using this project.