Skip to content

Conversation

@Tarmil
Copy link
Owner

@Tarmil Tarmil commented Jun 3, 2023

Fixes #158.

Throw a JsonException when trying to deserialize null into the following types:

  • Unions (unless explicitly allowed, eg. with CompilationRepresentationFlags.UseNullAsTrueValue)
  • Records
  • Tuples
  • Lists
  • Sets
  • Maps

@Tarmil Tarmil merged commit 00cf5fb into master Jun 4, 2023
@Tarmil Tarmil deleted the handle-null branch February 10, 2024 10:45
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.

Disallow null if not option-wrapped everywhere, not just for record fields

2 participants