Skip to content

Generate fast-path serialize logic for nullable structs #59719

@layomia

Description

@layomia

The JSON source generator doesn't generate optimized serialization logic for nullable structs, but it could. The following method should be extended to include this support:

private string GenerateForNullable(TypeGenerationSpec typeMetadata)

See also #51945.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions