Skip to content
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

make gen-rpc失败 'optional' labels are disallowed in the Proto3 syntax #319

Open
bendh1 opened this issue Jul 23, 2024 · 0 comments
Open

Comments

@bendh1
Copy link

bendh1 commented Jul 23, 2024

$ make gen-rpc
goctls rpc protoc ./example.proto --go_out=./types --go-grpc_out=./types --zrpc_out=. --style=go_zero
Generating...
Merge proto files successfully
Error: example.proto:89:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant