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

feat: support slices for nullable unions #372

Merged
merged 1 commit into from
Apr 18, 2024
Merged

feat: support slices for nullable unions #372

merged 1 commit into from
Apr 18, 2024

Conversation

nrwiersma
Copy link
Member

@nrwiersma nrwiersma commented Apr 18, 2024

This PR adds support for slices directly in nullable unions.

Maps are more complex and will be looked at separately.

Fixes #371

@nrwiersma nrwiersma self-assigned this Apr 18, 2024
@oderwat
Copy link

oderwat commented Apr 18, 2024

This works with my test code! Thank you very much!

@nrwiersma nrwiersma merged commit 7a2eb5f into main Apr 18, 2024
2 of 3 checks passed
@nrwiersma nrwiersma deleted the slice-nullables branch April 18, 2024 18:02
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.

Problem with empty slices vs nil.
2 participants