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 keyword in proto3. #309

Merged
merged 1 commit into from
Sep 25, 2021
Merged

Conversation

jbub
Copy link
Contributor

@jbub jbub commented Sep 13, 2021

Updates github.com/jhump/protoreflect to handle proto3 optional keyword.

Without it, it fails with:

field has label LABEL_OPTIONAL, but proto3 must omit labels other than 'repeated'

Fixes #310

@jbub
Copy link
Contributor Author

jbub commented Sep 14, 2021

Ah now it panics on "panic: runtime error: integer divide by zero" :( going to investigate more

@jbub
Copy link
Contributor Author

jbub commented Sep 14, 2021

Ah i found unrelated bug, will open another issue for that. #311

@bojand bojand merged commit 4e5f67e into bojand:master Sep 25, 2021
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

Successfully merging this pull request may close these issues.

Request to proto3 service with optional fails
2 participants