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 NodeMapper handling of lists with generic types #1635

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

mtdowling
Copy link
Member

We previously deserialized lists with generic types incorrectly, causing the list to be created, but storing invalid types in the list. This caused the use of the list at runtime to fail due to a ClassCastException.

Issue #, if available:

Description of changes:

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

We previously deserialized lists with generic types incorrectly,
causing the list to be created, but storing invalid types in the list.
This caused the use of the list at runtime to fail due to a
ClassCastException.
@mtdowling mtdowling requested a review from a team as a code owner February 24, 2023 21:30
@mtdowling mtdowling merged commit 815e2e5 into main Feb 28, 2023
@mtdowling mtdowling deleted the fix-nodemapper-generic-lists branch March 21, 2023 16:49
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