Skip to content

NullableConverter does not flow serialization state #65522

@eiriktsarpalis

Description

@eiriktsarpalis

The System.Text.Json NullableConverter<T> incorrectly declares itself as a value converter, even though this only applies to cases where the T type uses a value converter itself. This means that nullable struct serialization does not flow serialization state correctly, which can result in async serialization not performing as expected.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions