-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Support using any dictionary as JsonExtensionData #31645
Copy link
Copy link
Open
Labels
area-System.Text.JsonenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorswishlistIssue we would like to prioritize, but we can't commit we will get to it yetIssue we would like to prioritize, but we can't commit we will get to it yet
Milestone
Metadata
Metadata
Assignees
Labels
area-System.Text.JsonenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorswishlistIssue we would like to prioritize, but we can't commit we will get to it yetIssue we would like to prioritize, but we can't commit we will get to it yet
Type
Fields
Give feedbackNo fields configured for issues without a type.
IMHO,
IReadOnlyDictionaryshould work identical toIDictionarywhen using withJsonExtensionDataattribute.Currently it fails with error:
This is analogous to collection properties which can be defined as
List<T>,IList<T>orIReadOnlyList<T>etc.