protoc-gen-validate
protoc-gen-validate copied to clipboard
Protocol Buffer Validation - Being replaced by github.com/bufbuild/protovalidate
Hi, in the README, the Maven project exposes a pgv-java-stub dependency that the gradle project example doesn't have. It's required as the code can't compile without it.
Is it a good idea to have conditional validation on embed messages ? Here is an example ``` syntax = "proto3"; package example; import "google/api/annotations.proto"; service Example { rpc CreateExample...
I ran `make vendor gazelle` to add a new dependency for an experiment, and the project broke dramatically. Many unexpected packages in the vendor tree were modified, along with most...
I have three proto files A.proto, B.proto and common.proto. I put some common messages between A and B into common.proto and I import it in A and B proto files....
I have a message like this : ``` message Request { repeated NewRequest add = 1; repeated RemoveRequest remove = 1; } ``` I would like to validate if in...
Attempting to apply gogoproto to data-plane-api, getting these errors: ``` WARNING: field BytesRules.Const is a non-nullable bytes type, nullable=false has no effect WARNING: field BytesRules.Prefix is a non-nullable bytes type,...
Looks like Envoy is using C++ URI validations in StsService: https://github.com/envoyproxy/envoy/blob/062c895f499382ae61dead16db2a7e78b9146525/api/envoy/api/v2/core/grpc_service.proto#L94 Config validations throw an unimplemented exception when initializing the server (rather than a controlled a `ProtoValidation` error). https://oss-fuzz.com/testcase-detail/5665272556158976 It...
Right now, only go field name present. If this validation error, for instance, is used to construct rpc validation error message (like google.rpc.BadRequest), it will be better to put field...
cannot add email rule on `google.protobuf.StringValue` but works on `string` type getting following error: `m._validateEmail undefined (type *UserRequest has no field or method _validateEmail)` ```protobuf message UserRequest { google.protobuf.UInt32Value id...
The `gogo.proto` file located in `gogoproto/gogo.proto` is out of date. Our project is vendoring in protos from this projects which is causing our protoc commands to fail. We have found...