Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions