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

project structure: ![image](https://user-images.githubusercontent.com/4819251/145143815-a8670aed-171a-4e05-bfb8-c829c84ef73a.png) pay_interface.proto: ![image](https://user-images.githubusercontent.com/4819251/145143879-59b8d14a-14a0-412c-b377-f7c586cdf65c.png) api/pay/v1/enum/enum.proto: ![image](https://user-images.githubusercontent.com/4819251/145143905-5a913fb3-3e62-4c07-b32c-8ad047ea5c7c.png) api/order/v1/enum/enum.proto: ![image](https://user-images.githubusercontent.com/4819251/145143954-24887ddb-9764-47f5-a5ff-492cfa844557.png) get errors ``` /api/pay/v1/pay_interface.pb.validate.go:22:2: enum redeclared as imported package name ``` ![image](https://user-images.githubusercontent.com/4819251/145144127-f10253a2-d314-4db9-b59b-9edb2d4529c4.png)

Bug
Go

Trying to setup the envirment to address the issue #321, I got the following error for 'make harness' using the docker route: `docker run --rm -v $(pwd):/go/src/github.com/envoyproxy/protoc-gen-validate lyft/protoc-gen-validate harness` ```...

Bug

# Issue When a validation rule below is set for a repeated num item: ``` repeated int32 x = 1 [(validate.rules).repeated.items.int32 = {in: [0, 1]}]; ``` The code is generated...

Bug
Go

### Is your feature request related to a problem? Please describe. As a user, I would like to know which version is used to generate a particular piece of code...

Enhancement
Good First Issue
Documentation

## Description The README contains outdated links at the following line: https://github.com/envoyproxy/protoc-gen-validate/blob/59da36e59fef2267fc2b1849a05159e3ecdf24f3/README.md#L110 They point respectively to: * https://github.com/golang/protobuf#packages-and-input-paths * https://github.com/golang/protobuf#parameters Which are both just linking to `https://github.com/golang/protobuf` since it seems...

Help Wanted
Good First Issue
Documentation

Dockerfile: ``` FROM golang:1.15-buster WORKDIR /data/ # install unzip RUN apt-get update && apt-get install -y unzip # install /usr/local/bin/protoc RUN curl -L -o /tmp/protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip && \ unzip /tmp/protoc.zip...

Help Wanted

If validate rule is not configured in the proto file, a meaningless file will be generated. Should skip it directly?

Enhancement
Good First Issue

It would be really helpful if we could have a `--version` flag added to the `protoc-gen-validate` command to help easily identify the installed version Currently there is no way to...

Enhancement
Good First Issue

With the addition of [field-presence](https://github.com/protocolbuffers/protobuf/blob/master/docs/field_presence.md) support in proto3 (#431), one can now make a stipulation that given the capability to verify fields value presence (where we explicitly know if it...

Enhancement

First off, love and appreciate the work you guys do on this project! One feature request: It would be awesome to have the [go_proto_compiler](https://github.com/envoyproxy/protoc-gen-validate/blob/master/bazel/pgv_proto_library.bzl#L6) exposed such that consuming bazel projects...

Enhancement
Bazel