protoc-gen-validate icon indicating copy to clipboard operation
protoc-gen-validate copied to clipboard

Protocol Buffer Validation - Being replaced by github.com/bufbuild/protovalidate

Results 175 protoc-gen-validate issues
Sort by recently updated
recently updated
newest added

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.

Bug
Java
Documentation

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...

Enhancement

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...

Bug
Bazel

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....

Help Wanted
Go

I have a message like this : ``` message Request { repeated NewRequest add = 1; repeated RemoveRequest remove = 1; } ``` I would like to validate if in...

Enhancement

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,...

Enhancement

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...

Enhancement
C++

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...

Enhancement

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...

Bug
Go
GoGo

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...

Bug
GoGo