Skip to content
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

fix: correct deserialization of nested map/list types in unions #1144

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

ianbotsf
Copy link
Contributor

Issue #

Resolves #1126

Description of changes

This change corrects some faulty deserializer logic around union members and nested maps/lists. Specifically, it no longer tries to deserialize nested map/list types into an instance of a union member, only top-level maps/lists. This bug was quite apparent when looking at the codegen unit tests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ianbotsf ianbotsf requested a review from a team as a code owner August 28, 2024 20:56
@ianbotsf ianbotsf changed the title fix: correct deserialization of nested map/list/types in unions fix: correct deserialization of nested map/list types in unions Aug 28, 2024
Copy link

Affected Artifacts

No artifacts changed size

@ianbotsf ianbotsf merged commit 277a77c into main Aug 29, 2024
15 checks passed
@ianbotsf ianbotsf deleted the fix-union-nested-listmap-parsing branch August 29, 2024 15:20
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.

Deserializer for union member Map<*, List<Enum>> generates incorrectly
3 participants