Skip to content

fix: Avoid materializing ProtoJSON WKT defaults#2326

Merged
dcodeIO merged 1 commit into
masterfrom
patch/protojson-wkt-defaults
Jun 12, 2026
Merged

fix: Avoid materializing ProtoJSON WKT defaults#2326
dcodeIO merged 1 commit into
masterfrom
patch/protojson-wkt-defaults

Conversation

@dcodeIO

@dcodeIO dcodeIO commented Jun 11, 2026

Copy link
Copy Markdown
Member

Avoids materializing implicit-default well-known type scalar fields while parsing ProtoJSON, so binary round-trips do not emit default-valued fields in Timestamp, Duration, wrapper values, or empty Any payloads.

Found while reviewing conformance round-trip data beyond what the harness asserts.

@dcodeIO dcodeIO merged commit 6aaee14 into master Jun 12, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 12, 2026
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.

2 participants