Skip to content

[release/6.0] Fix source generation support for tuples with explicitly named elements - #58723

Merged
danmoseley merged 1 commit into
release/6.0from
backport/pr-58644-to-release/6.0
Sep 8, 2021
Merged

[release/6.0] Fix source generation support for tuples with explicitly named elements#58723
danmoseley merged 1 commit into
release/6.0from
backport/pr-58644-to-release/6.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Sep 6, 2021

Copy link
Copy Markdown
Contributor

Backport of #58644 to release/6.0

/cc @eiriktsarpalis

Customer Impact

Customer reported bug. Source generators are currently not value tuples with explicitly named elements properly, resulting in compile-time errors in the generated code. This can break source generation for any DTO containing value tuple properties (even if a JsonIgnore attribute has been applied by the user).

Testing

Testing has been added to validate the broken scenario.

Risk

Low. Product code is a simple fix adding a missed clause in the field symbol filtering logic.

@danmoseley

Copy link
Copy Markdown
Contributor

Approved for release/6.0 -- customer reported, new feature, low risk/localized, we knew SG would have a tail as they got wider use.

@danmoseleydanmoseley added the Servicing-approved Approved for servicing release label Sep 7, 2021
@danmoseley

Copy link
Copy Markdown
Contributor

Will merge when OSX is done.

@danmoseley
danmoseley merged commit 895eb99 into release/6.0Sep 8, 2021
@danmoseley
danmoseley deleted the backport/pr-58644-to-release/6.0 branch September 8, 2021 01:50
@ghostghost locked as resolved and limited conversation to collaborators Oct 8, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Text.JsonServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@danmoseley@steveharter@eiriktsarpalis