-
Notifications
You must be signed in to change notification settings - Fork 19
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
Part of the validation code is not generated #67
Comments
buf.gen.yaml version: v1
managed:
enabled: true
go_package_prefix:
default: tests.example.v1
plugins:
- plugin: buf.build/protocolbuffers/go
out: gen
opt: paths=source_relative Lines 9 to 16 in 60a89b5
example |
Hi, @dorlolo! The The README documentation on protovalidate and protovalidate-go walks through the process of using this project. Let me know if this helps! |
Description
I am testing the code in the 'example' directory. After using the 'buf generate proto' command, in the 'example.pb.validate.go' file, validation code has been generated for only a few fields. The validation code for fields like 'Id', 'Email', and 'Name' is empty. and the 'Home' field has not generated the primary validation code.
this is my buf.gen.yaml :
Environment
TestCode
validatetest.zip
The text was updated successfully, but these errors were encountered: