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

#774 Validate read types against field type instead of valueClass #794

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

theigl
Copy link
Collaborator

@theigl theigl commented Nov 24, 2020

CompatibleFieldSerializer currently validates the read type against the field's valueClass. This does not work for classes with Object fields where the value class is updated on every read/write.

This PR adjusts the validation logic to compare against the field's type instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant