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

Fix a couple of JsonConstructor bugs & clean up JsonParameterInfo implementation. #81842

Merged

Conversation

eiriktsarpalis
Copy link
Member

Fix #60082. Fix #68647.

Simplifies the JsonParameterInfo implementation using conventions already used in JsonTypeInfo and JsonPropertyInfo.

@ghost
Copy link

ghost commented Feb 8, 2023

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

Fix #60082. Fix #68647.

Simplifies the JsonParameterInfo implementation using conventions already used in JsonTypeInfo and JsonPropertyInfo.

Author: eiriktsarpalis
Assignees: -
Labels:

area-System.Text.Json

Milestone: -

@eiriktsarpalis eiriktsarpalis force-pushed the default-nullable-ctor-arg branch from 653a881 to 87f8218 Compare February 8, 2023 19:50
@krwq
Copy link
Member

krwq commented Feb 9, 2023

given this scenario might affect benchmarks, I'd recommend to run perf tests, otherwise LGTM

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.

LGTM

@eiriktsarpalis eiriktsarpalis merged commit 27fd2cd into dotnet:main Feb 9, 2023
@eiriktsarpalis eiriktsarpalis deleted the default-nullable-ctor-arg branch February 9, 2023 15:38
@ghost ghost locked as resolved and limited conversation to collaborators Mar 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants