-
Notifications
You must be signed in to change notification settings - Fork 16
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 conversion of unknown or null collections to empty in nested objects #161
Fix conversion of unknown or null collections to empty in nested objects #161
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @paaanic, everything here make sense, although we don't have a ton of robust acceptance tests outside of the snapshot-like tests we have. I think generally this should cover the original bug report, although I wouldn't be surprised if other custom type implementations have similar null/unknown handling issues.
Would you mind also creating a bugfix changelog for this PR? (this repo doesn't have a contributing document I'm seeing, but you can reference the plugin-framework one)
Thank you for the quick review @austinvalle. Added a changelog entry. |
It is worth noting that the same problem is mentioned in the #154, so this PR should fix it as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the fix!
I'll release this in v0.4.1
🚀
This PR fixes the problem mentioned in #160.
Thanks to @austinvalle for the code snippet that was left in the issue as an example and used as a basis for this fix.