/protoc-gen-validate

Protocol Buffer Validation - Checkout the new `protovalidate` project

Primary LanguageGoApache License 2.0Apache-2.0

protoc-gen-validate (PGV)

License Release Slack

📣**Update: The next generation of protoc-gen-validate, now called protovalidate, is available in beta for Golang, Python, Java, and C++! We're hard at work on a TypeScript implementations as well. To learn more, check out our blog post. We value your input in refining our products, so don't hesitate to share your feedback on protovalidate.**

❓ Looking for protoc-gen-validate docs? Go here.

protovalidate is a series of libraries designed to validate Protobuf messages at runtime based on user-defined validation rules. Powered by Google's Common Expression Language (CEL), it provides a flexible and efficient foundation for defining and evaluating custom validation rules. The primary goal of protovalidate is to help developers ensure data consistency and integrity across the network without requiring generated code.

Runtime implementations of protovalidate can be found in their own repositories: