-
Notifications
You must be signed in to change notification settings - Fork 197
Make PbFieldType members public #1027
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
Conversation
In preparation for adding conditional imports to be able to use different encoding/decoding implementation based on the platform, this PR creates an "internal" library and exports some of the important types for encoding/decoding like `FieldInfo`, `PbFieldType` (renamed as `PbFieldTypeInternal`). This syncs some of cl/613649886.
This reverts commit 32911d8.
devoncarew
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
My main comment is the PbFieldType => PbFieldTypeInternal rename from the precursor PR.
devoncarew
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. I have a slight preference for landing #1026 and rebasing this PR against master before landing, but don't think the mechanics are part of the review - whichever you think is best.
Depends on #1026.
This is the second part of the PRs that sync internal JSON decoding chages.
To be able to have JSON decoders as libraries that are conditionally imported
based on the compilation target, this makes
PbFieldTypemembers public.