Skip to content

Improve serialization support for nested dictionaries#784

Merged
layomia merged 3 commits intodotnet:masterfrom
layomia:nested_dicts
Dec 20, 2019
Merged

Improve serialization support for nested dictionaries#784
layomia merged 3 commits intodotnet:masterfrom
layomia:nested_dicts

Conversation

@layomia
Copy link
Contributor

@layomia layomia commented Dec 12, 2019

5.0 fix for #670.

dotnet/corefx#42772 ports this change to 3.1.

@layomia layomia added this to the 5.0 milestone Dec 12, 2019
@layomia layomia self-assigned this Dec 12, 2019
@ericstj
Copy link
Member

ericstj commented Dec 17, 2019

Can this please be reviewed as well as dotnet/corefx#42772 (servicing)? @steveharter @ahsonkhan

newBaseTypes.AddRange(nonGenericDictTypes);
}

baseDictionaryTypes = newBaseTypes;
Copy link
Contributor

Choose a reason for hiding this comment

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

I see. By replacing the variable the next loop will create a nested dictionary<string, TValue> where TValue is the current dictionary type.

@layomia layomia merged commit 8c0a1d9 into dotnet:master Dec 20, 2019
@layomia layomia deleted the nested_dicts branch December 20, 2019 03:27
@jkotas
Copy link
Member

jkotas commented Dec 21, 2019

@layomia Please use "Squash & Merge" option to merge your PRs next time.

https://github.com/dotnet/runtime/blob/master/docs/issues-pr-management.md

@ghost ghost locked as resolved and limited conversation to collaborators Dec 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants