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 regression where NSE is thrown when serializing string dictionary keys with custom converter #56445

Closed
wants to merge 1 commit into from

Conversation

layomia
Copy link
Contributor

@layomia layomia commented Jul 28, 2021

Fixes #53241. This roots the string converter for all usage of JsonSerializer even when string is not present in input object graphs.

@layomia layomia added this to the 6.0.0 milestone Jul 28, 2021
@layomia layomia self-assigned this Jul 28, 2021
@ghost
Copy link

ghost commented Jul 28, 2021

Tagging subscribers to this area: @eiriktsarpalis, @layomia
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #53241. This roots the string converter for all usage of JsonSerializer even when string is not present in input object graphs.

Author: layomia
Assignees: layomia
Labels:

area-System.Text.Json

Milestone: 6.0.0

@layomia
Copy link
Contributor Author

layomia commented Aug 2, 2021

Per discussion #56445 (comment), I'll close this PR get "Allow custom converters for dictionary keys" considered for 6.0 - #46520.

@layomia layomia closed this Aug 2, 2021
@eiriktsarpalis
Copy link
Member

@layomia should we be reviving this PR?

@ghost ghost locked as resolved and limited conversation to collaborators Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants