Skip to content

Conversation

@osa1
Copy link
Member

@osa1 osa1 commented Jul 18, 2025

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 PbFieldType members public.

osa1 added 4 commits July 18, 2025 09:54
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.
@osa1 osa1 marked this pull request as ready for review July 18, 2025 09:55
@osa1 osa1 requested a review from devoncarew July 18, 2025 09:56
@osa1 osa1 mentioned this pull request Jul 18, 2025
Copy link
Contributor

@devoncarew devoncarew left a 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.

Copy link
Contributor

@devoncarew devoncarew left a 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.

Base automatically changed from split_into_libs to master July 23, 2025 10:05
@osa1 osa1 merged commit 4c842a7 into master Jul 23, 2025
16 checks passed
@osa1 osa1 deleted the field_type_public branch July 23, 2025 10:15
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.

3 participants