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, I use the following rules on a `map`: `(validate.rules).map.keys.string.min_len = 1,` And when the rule is not respected, the error message is ending by: value length must be at...

Bug
C++

I would like to use the validation engine in a non supported language (TypeScript). I am aware that the V1 supported languages are: - Go - Python - Java -...

Question
Language Support

Hi, I'm compiling with the 1.0.0 PGV on Windows 10 64bits. - Visual Studio 17 2022 - The C/CXX compiler is MSVC 19.35.32215.0 A Warning is fired which is (tranlated):...

Bug
C++

Hi, I'm running Valgrind on a project which use PGV. The project do not allow any memory leaking even when exiting the program. In your file [validate.h](https://github.com/bufbuild/protoc-gen-validate/blob/main/validate/validate.h) you create a...

Bug
C++

When adding the following dep to one of my `py_library` rules in bazel: ``` "@protoc_gen_validate//python:validator_py", ``` I get the following error triggered by the `pip_install` rule. ``` RuntimeError: The `requirements_lock`...

Good First Issue
Question
Python

I'm trying to add support for dotnet (C#). I have the Bazel project ready [(check here)](https://github.com/Clement-Jean/protoc-gen-validate/tree/dotnet/dotnet) but I'm not sure how to proceed. Is there any way we could have...

Question
Language Support

Version: `protoc-gen-validate = "^0.10.1"` ```protobuf message RequestMessage { string some_string_field = 1 [(validate.rules).string = {uuid: true, ignore_empty: true}]; string other_string_field_no_validation = 2 [(validate.rules).string = {ignore_empty: true}]; } ``` ```python from...

Bug
Good First Issue
Python

I observed with the latest `main` that the `email` validator isn't implemented yet. It throws an excpetion like this: ![Screenshot 2023-04-18 125426](https://user-images.githubusercontent.com/5695733/232678807-5cdfa173-fc9e-4e48-bbd0-9932c7f45d09.png) I can understand that this alerts developers so...

Enhancement
C++

Currently PGV splits a given proto package name using both dot-notation and an underscore when creating the C++ namespace. For example, a proto that is in a package: `my_project` will...

Bug
C++

Hi, I use proto3 and latest protoc 22.3 and latest pgv 1.0.0 I have a need to check the presence of numerics fields like **bool** or others. It is possible...

Enhancement
C++