Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/6.0] Include properties on records for (de)serialization in source-gen #63454

Merged
merged 1 commit into from
Jan 8, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 6, 2022

Backport of #62668 to release/6.0

Customer Impact

Fixes customer reported JSON source generation issues (#62374, #61772) where members of records defined in external assemblies are not included for (de)serialization, causing silent data loss. Multiple users reported this which suggests that it is not an edge-case scenario. There are currently no issues with records defined in the same assembly that invokes the source generator.

Testing

Tests for the customer scenarios have been added, along with variants to ensure that this is a complete fix.

Risk

Low. The code change is small and scoped to the issue. Changes introduced only affect usage of the source generator, and not System.Text.Json in general.

@ghost
Copy link

ghost commented Jan 6, 2022

Tagging subscribers to this area: @dotnet/area-system-text-json
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #62668 to release/6.0

/cc @layomia

Customer Impact

Testing

Risk

Author: github-actions[bot]
Assignees: -
Labels:

area-System.Text.Json

Milestone: -

@layomia layomia self-assigned this Jan 7, 2022
@layomia layomia added this to the 6.0.x milestone Jan 7, 2022
@layomia layomia added the Servicing-consider Issue for next servicing release review label Jan 7, 2022
@layomia layomia added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Jan 7, 2022
@layomia
Copy link
Contributor

layomia commented Jan 7, 2022

Approved by Tactics via email.

@danmoseley
Copy link
Member

Test failures #58927 and the ports fixed issue.

@danmoseley danmoseley merged commit a9723f3 into release/6.0 Jan 8, 2022
@danmoseley danmoseley deleted the backport/pr-62668-to-release/6.0 branch January 8, 2022 03:35
@ghost ghost locked as resolved and limited conversation to collaborators Feb 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Text.Json Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants