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 anonymous type deserialization #56

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Conversation

quinchs
Copy link
Collaborator

@quinchs quinchs commented Jul 5, 2023

Summary

This PR fixes an issue where anonymous types would fail the IsValidType check for the deserialization pipeline, causing a NoTypeConverterException to be thrown.

The binding would attempt to search for a valid constructor for the anonymous type: if the type has only one property then it would assume a custom deserializer was being used, and would fail when it didn't find it.

@quinchs quinchs requested a review from nsidnev July 5, 2023 12:59
@quinchs quinchs merged commit 0995961 into dev Jul 11, 2023
2 checks passed
@quinchs quinchs mentioned this pull request Jul 11, 2023
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