Skip to content

The System.Text.Json source generator doesn't populate JsonPropertyInfo.AttributeProvider metadata. #100095

@eiriktsarpalis

Description

@eiriktsarpalis

The JsonPropertyInfo.AttributeProvider property isn't being populated by the source generator, making it impossible to resolve additional attributes from JsonPropertyInfo instances. This can create issues when mapping contract metadata to richer representations such as JSON schema (e.g. resolving DescriptionAttribute).

cc @captainsafia @stephentoub

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions