Skip to content

fix: Decode fields by full wire tag#2197

Merged
dcodeIO merged 3 commits into
masterfrom
patch/field-wire-type-conformance
Apr 29, 2026
Merged

fix: Decode fields by full wire tag#2197
dcodeIO merged 3 commits into
masterfrom
patch/field-wire-type-conformance

Conversation

@dcodeIO
Copy link
Copy Markdown
Member

@dcodeIO dcodeIO commented Apr 28, 2026

Updates generated decoders to dispatch fields by full wire tag instead of just field number, so known fields with an unexpected but valid wire type fall through to the default skip case, while invalid wire types such as 6 and 7 now fail consistently instead of being decoded as if the field had the expected wire type.

Also regenerates affected fixtures.

@dcodeIO dcodeIO force-pushed the patch/field-wire-type-conformance branch from 55e2dc0 to cff38fb Compare April 29, 2026 04:48
@dcodeIO dcodeIO merged commit f6264b1 into master Apr 29, 2026
4 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 29, 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