Skip to content

System.Text.Json should handle attributes in virtual or shadowed properties consistently #73255

Open

Description

@eiriktsarpalis

Currently, System.Text.Json suffers from a few consistency/reliability bugs when it comes to consuming attributes defined in virtual/shadowed property hierarchies. These also manifest as divergences between reflection-based and source generated contract resolution semantics. We should try to fix as many of these as possible and expand our test coverage in this space. It might be the case that we need to introduce strategic breaking changes if absolutely necessary.

Provisional list of customer reported issues:

Activity

  1. added
    User Story
    Cost:L
    on Aug 2, 2022
  2. added this to the 8.0.0 milestone on Aug 2, 2022
  3. added
    enhancement
    on Sep 28, 2022
  4. modified the milestones: 8.0.0, Future on Jan 23, 2023
  5. eiriktsarpalis commented on Jan 23, 2023

    @eiriktsarpalis
    MemberAuthor

    Moving to Future as we won't be able to work on this for 8.0

  6. changed the title [-]System.Text.Json should handle attributes in virtual properties consistently[/-] [+]System.Text.Json should handle attributes in virtual or overridden properties consistently[/+] on Feb 19, 2024
  7. changed the title [-]System.Text.Json should handle attributes in virtual or overridden properties consistently[/-] [+]System.Text.Json should handle attributes in virtual or shadowed properties consistently[/+] on Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Cost:LTeam:LibrariesUser Storyarea-System.Text.Jsonenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions