New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repeated enum validation not_in is not generated #329
Comments
akonradi
added a commit
to akonradi/protoc-gen-validate
that referenced
this issue
Apr 14, 2020
Generate code for C++ and Go for repeated.items.enum.{in, not_in} validations, and add test cases. Fixes bufbuild#329 Signed-off-by: Alex Konradi <akonradi@google.com>
Thanks for the super-clear reproducer! |
I find that repeated.items.uint32.{in} is also seeing similar error. |
rodaine
pushed a commit
that referenced
this issue
May 15, 2020
Generate code for C++ and Go for repeated.items.enum.{in, not_in} validations, and add test cases. Fixes #329 Signed-off-by: Alex Konradi <akonradi@google.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Affected versions: v0.0.14, v0.1.0
Input test.proto:
Generate command:
Expect: all validate rules are generated correclty.
Actual: rules are generated, but
_Request_Status_NotInLookup
is undefined.The text was updated successfully, but these errors were encountered: