You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2022. It is now read-only.
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:
$ prototool lint
2021-01-29T[time]Z WARN protoc returned a line we do not understand, please file this as an issue at https://github.com/uber/prototool/issues/new {"protocLine": "[proto file]: This file contains proto3 optional fields, but --experimental_allow_proto3_optional was not set."}
<input>:1:1:[proto file]: This file contains proto3 optional fields, but --experimental_allow_proto3_optional was not set.
This can be reproduced by adding an optional field to any message and running the linter.
pratyai, fdudsuzfdzcy, AyushSingh13, lucas-bremond, 13dev and 1 more