protoc-gen-validate
protoc-gen-validate copied to clipboard
Protocol Buffer Validation - Being replaced by github.com/bufbuild/protovalidate
I have a string, and I want to validate that its either an email, OR in [string-a, string-b], is it possible?
According to documentation, the go version supports ValidateAll. Java assertion style validation is too limiting for most uses
Add optional fields support for java and cpp. Based on #537.
[I've created a nix flake for this repo.](https://github.com/thegergo02/protoc-gen-validate-flake) The maintainers can decide if they want to write anything about it into the docs. (I created it as another project depends...
This adds a new well known validation for strings which checks the input is a valid IP prefix in CIDR notation. Example ```protobuf message IPRoute { string prefix = 1...
Hello everyone, PGV is an awesome product but it lacks some key features such as cross-field validation. One way I've found to work around this is to write custom validation...
Created an example.proto ```➜ protoc-gen-validate git:(main) ✗ cat example.proto syntax = "proto3"; package examplepb; import "validate/validate.proto"; option go_package= "rbac_proto/"; message Person { uint64 id = 1 [(validate.rules).uint64.gt = 999]; string...
This is https://github.com/envoyproxy/protoc-gen-validate/pull/398 but with the latest changes merged. **DISCLAIMER: NOT TESTED MANUALLY**
I have fixed a bunch of compilation errors I found using a pretty large and diverse proto codebase: **1. Using system types as field name: float, double, enum, bool** Generated...