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

Add support for wrapping types in deserialization #63

Merged
merged 2 commits into from
Jul 18, 2023

Conversation

quinchs
Copy link
Collaborator

@quinchs quinchs commented Jul 18, 2023

Summary

This PR adds another step in the deserialization pipeline which support wrapping types, ex: Nullable<T>, Option<T>, etc. It also fixes a bug with value type deserialization due to expression initialization by adding an explicit box operation.

@quinchs quinchs requested a review from scotttrinh July 18, 2023 15:35
@scotttrinh
Copy link

Code makes sense to me! Is there any easy test case we can add at least for Nullable<T> to exercise this behavior?

@quinchs
Copy link
Collaborator Author

quinchs commented Jul 18, 2023

Added!

@quinchs quinchs merged commit 5e1474c into dev Jul 18, 2023
2 checks passed
@quinchs quinchs deleted the fix/deserializer-wrappers branch July 18, 2023 15:51
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