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

Ensure JsonTypeInfo does not fail configuration for valid metadata originating from fast-path sourcegen #72630

Merged

Conversation

eiriktsarpalis
Copy link
Member

Rearranges the configuration logic so that certain failure modes are surfaced at serialization time rather than configuration time.

Fix #72614.

@eiriktsarpalis eiriktsarpalis requested a review from krwq July 21, 2022 18:55
@eiriktsarpalis eiriktsarpalis self-assigned this Jul 21, 2022
@eiriktsarpalis eiriktsarpalis added this to the 7.0.0 milestone Jul 21, 2022
@ghost
Copy link

ghost commented Jul 21, 2022

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

Issue Details

Rearranges the configuration logic so that certain failure modes are surfaced at serialization time rather than configuration time.

Fix #72614.

Author: eiriktsarpalis
Assignees: -
Labels:

area-System.Text.Json

Milestone: -

Copy link
Member

@krwq krwq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall looks good but I left some small comments

@eiriktsarpalis eiriktsarpalis requested a review from krwq July 22, 2022 10:05
@eiriktsarpalis eiriktsarpalis merged commit cbe29e8 into dotnet:main Jul 22, 2022
@eiriktsarpalis eiriktsarpalis deleted the fix-sourcegenmetadata-bug branch July 22, 2022 11:11
@ghost ghost locked as resolved and limited conversation to collaborators Aug 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants