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
compiler: Signal that ttrpc-compiler supports proto3 optionals
Got error:
protoc --rust_out=. --ttrpc_out=. --plugin=protoc-gen-ttrpc=`which ttrpc_rust_plugin` test.proto
test.proto: is a proto3 file that contains optional fields, but code generator
protoc-gen-ttrpc hasn't been updated to support optional fields in proto3.
Please ask the owner of this code generator to support proto3 optional.--ttrpc_out:
According to the doc: https://github.com/protocolbuffers/protobuf/blob/main/docs/implementing_proto3_presence.md#signaling-that-your-code-generator-supports-proto3-optional
Although ttrpc-compiler have already supported `proto3 optionals`, code can't be generated using `protoc` unless we signal that we support `proto3 optionals`
Signed-off-by: Tim Zhang <tim@hyper.sh>
0 commit comments