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 JsonCodec.Config.explicitNulls option #740

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Conversation

a-morales
Copy link
Contributor

@a-morales a-morales commented Sep 12, 2024

This makes it so that JsonCodec.Config.ignoreEmptyCollections works on Option so setting it to not ignore it will result in null

Adding a explicitNulls option to JsonCodec.Config that is the equivalent of ignoreEmptyCollections but for options.

@a-morales a-morales requested a review from a team as a code owner September 12, 2024 18:43
@a-morales a-morales changed the title Make JsonCodec.Config.ignoreEmptyCollections work with Options Add JsonCodec.Config.explicitNulls option Sep 12, 2024
@987Nabil 987Nabil merged commit 0ef6321 into zio:main Sep 17, 2024
26 checks passed
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