Skip to content

feat(codegen): Render intermediate XML structures to support empty variant lists #486

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

Open
wants to merge 1 commit into
base: feat-codegen-sdk-rework
Choose a base branch
from

Conversation

kklimonda-cl
Copy link
Contributor

To support list variants XML structures must be adjusted to make sure that
variant list node is not generated if no list elements are present. This cannot be
achieved with xml:"list>entry,omitempty" due to golang/go#7233 and
require us to generate an intermediate XML structure instead.

@kklimonda-cl kklimonda-cl changed the base branch from main to feat-codegen-sdk-rework May 19, 2025 15:43
@kklimonda-cl kklimonda-cl force-pushed the feat-codegen-sdk-rework branch from f9f3e2a to 9529b68 Compare May 19, 2025 15:43
@kklimonda-cl kklimonda-cl force-pushed the feat-codegen-variant-lists branch from dc2f6b5 to 0675e57 Compare May 19, 2025 16:06
@kklimonda-cl kklimonda-cl force-pushed the feat-codegen-sdk-rework branch from 9529b68 to f3de2b3 Compare May 19, 2025 16:08
@kklimonda-cl kklimonda-cl force-pushed the feat-codegen-variant-lists branch from 0675e57 to 9529b68 Compare May 19, 2025 16:09
@kklimonda-cl kklimonda-cl force-pushed the feat-codegen-sdk-rework branch from f3de2b3 to ae3ccb7 Compare May 19, 2025 16:24
@kklimonda-cl kklimonda-cl force-pushed the feat-codegen-variant-lists branch from 9529b68 to 6949d78 Compare May 20, 2025 12:52
@kklimonda-cl kklimonda-cl changed the title feat(codegen): Properly handle list variants feat(codegen): Render intermediate XML structures to support empty variant lists May 20, 2025
@kklimonda-cl kklimonda-cl force-pushed the feat-codegen-sdk-rework branch from ae3ccb7 to 2256914 Compare May 21, 2025 07:27
@kklimonda-cl kklimonda-cl force-pushed the feat-codegen-variant-lists branch from 6949d78 to 501201a Compare May 21, 2025 07:27
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