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

Deserialization should be done after coercion #501

Merged
merged 2 commits into from
Dec 12, 2022

Conversation

aubustou
Copy link
Contributor

There was a bug when using a coerce function (such as a JSON converter) on a attribute with a Union and only two types (one of those being not str). UnionByTypeMethod was being called and this one doesn't handle CoercerMethod well.

@sylflo sylflo mentioned this pull request Nov 17, 2022
@wyfo wyfo merged commit 3c60d5f into wyfo:master Dec 12, 2022
@wyfo
Copy link
Owner

wyfo commented Dec 12, 2022

Thank you for the fix!

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.

None yet

2 participants