Skip to content

generate: handle string tag values in Kafka JSON definitions#1266

Merged
twmb merged 1 commit intomasterfrom
srcfix
Feb 23, 2026
Merged

generate: handle string tag values in Kafka JSON definitions#1266
twmb merged 1 commit intomasterfrom
srcfix

Conversation

@twmb
Copy link
Owner

@twmb twmb commented Feb 23, 2026

Kafka upstream started using string values for the "tag" field in some JSON definitions (e.g. "tag": "1" instead of "tag": 1). Use a custom flexInt type that unmarshals both int and string representations.

Kafka upstream started using string values for the "tag" field in some
JSON definitions (e.g. "tag": "1" instead of "tag": 1). Use a custom
flexInt type that unmarshals both int and string representations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@twmb twmb merged commit 0873149 into master Feb 23, 2026
14 checks passed
@twmb twmb deleted the srcfix branch February 23, 2026 04:19
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.

1 participant