-
Notifications
You must be signed in to change notification settings - Fork 345
Support experimental optional fields #571
Comments
@setpill Were you able to find a workaround for this? |
For anyone stumbling across this, protobuf While this doesn't solve the problem of passing flags not supported by |
@AyushSingh13 do you know any workaround for |
Also interested in this |
I have noticed that if you specify a newer version (>=3.15) of
|
I did a bit more reading on this and based on some comments in the It looks they're they're planning to work on one soon so hopefully we get a new formatter to use that supports the optional keyword |
Protobuf allows experimental
optional
fields since v3.12. However, this needs to be specifically enabled in protoc, and prototool doesn't currently seem to allow this.prototool lint
throws an exit code 255 with the following output:This can be reproduced by adding an
optional
field to any message and running the linter.The text was updated successfully, but these errors were encountered: