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 in proto3 #34

Merged
merged 2 commits into from
Nov 8, 2022
Merged

Support 'optional' fields in proto3 #34

merged 2 commits into from
Nov 8, 2022

Conversation

wyattanderson
Copy link
Contributor

@wyattanderson wyattanderson commented Nov 8, 2022

This PR adopts the protogen support package for Protobuf plugins, obviating the need for custom parsing logic and facilitating return of the supported_features in the CodeGenerationResponse.

Tested locally by running against the existing test.proto and with the new optional.proto.

Closes #20

@ckaznocha
Copy link
Owner

Rad! Mind fixing the lint issues? Happy to merge once the bots are happy.

main.go Outdated Show resolved Hide resolved
Co-authored-by: Clifton Kaznocha <[email protected]>
Copy link
Owner

@ckaznocha ckaznocha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@ckaznocha ckaznocha merged commit ea7f077 into ckaznocha:master Nov 8, 2022
@wyattanderson wyattanderson deleted the protobuf-optional branch November 8, 2022 21:45
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.

Support 'optional' fields in proto3
2 participants