-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement support for proto3 optional
proto3 optional requires opting into the experimental feature in our code generator. proto3 optional is implemented as a one-off synthetic field so we must treat those as normal objects in our codegenerator. You can find the instructions on how to handle those in the upstream protobuf documentation: https://github.com/protocolbuffers/protobuf/blob/main/docs/implementing_proto3_presence.md The PR adds tests for the logic for both binary and JSON decoding. We are missing reflection support but that seemed reasonable for now.
- Loading branch information
1 parent
eaf0ef0
commit 9cd1824
Showing
28 changed files
with
1,305 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.