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

Support optional fields #67

Open
kmpm opened this issue Feb 8, 2021 · 3 comments
Open

Support optional fields #67

kmpm opened this issue Feb 8, 2021 · 3 comments

Comments

@kmpm
Copy link

kmpm commented Feb 8, 2021

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
Copy link

Hello @mdevan @cdevienne ,

Could you please provide update on this issue?

or this one?

#69

@cdevienne
Copy link
Member

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
Copy link

jyoui commented Jan 27, 2023

swiftechie@2981378

this can be a workaround for optional in proto3

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

4 participants