Support optional fields
kmpm opened this issue · 3 comments
kmpm commented
When adding a optional string name = 4;
to my proto file and running protoc with --experimental_allow_proto3_optional
I got the following error.
api.proto: is a proto3 file that contains optional fields, but code generator protoc-gen-nrpc hasn't been updated to support optional fields in proto3. Please ask the owner of this code generator to support proto3 optional.
Yes I know it's experimental but I thought this, optional fields, feature at least was on it's way.
ashutoshsinghparmar commented
cdevienne commented
Sorry for the long wait. I will soon work on nrpc to get protobuf up-to-date, and handle as much issues as I can.
jyoui commented
this can be a workaround for optional in proto3