Skip to content

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

Merged
eiriktsarpalis merged 3 commits into
dotnet:mainfrom
eiriktsarpalis:default-nullable-ctor-arg
Feb 9, 2023
Merged

eiriktsarpalis merged 3 commits into
dotnet:mainfrom
eiriktsarpalis:default-nullable-ctor-arg

Conversation

@eiriktsarpalis

Copy link
Copy Markdown
Member

Fix #60082. Fix #68647.

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

@ghost ghost added the area-System.Text.Json label Feb 8, 2023
@ghost ghost assigned eiriktsarpalis Feb 8, 2023
@eiriktsarpalis eiriktsarpalis added this to the 8.0.0 milestone Feb 8, 2023
@ghost

ghost commented Feb 8, 2023

Copy link
Copy Markdown

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

krwq commented Feb 9, 2023

Copy link
Copy Markdown
Member

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

@krwq krwq left a comment

Copy link
Copy Markdown
Member

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