-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
Cost:SWork that requires one engineer up to 1 weekWork that requires one engineer up to 1 weekPriority:3Work that is nice to haveWork that is nice to havearea-System.Text.Jsonsource-generatorIndicates an issue with a source generator featureIndicates an issue with a source generator feature
Milestone
Description
Per #51945 (comment) and #58912 (comment), the feature is currently not supported in fast-path serialization and the serializer falls back to a metadata-based implementation if provided/configured by the source generator.
We should target 7.0 - it is technically feasible to do this now, just a bit complex & a large diff at this stage in 6.0. Concretely, extension data properties (dictionaries) can have typeof(object) values which is a polymorphic scenario currently not supported in fast-path.
We should also consider deserialization support for this feature, alongside #55043 ("Consider fast-path deserialization logic in JSON source generator").
Akarinnnnn and austindrenski
Metadata
Metadata
Assignees
Labels
Cost:SWork that requires one engineer up to 1 weekWork that requires one engineer up to 1 weekPriority:3Work that is nice to haveWork that is nice to havearea-System.Text.Jsonsource-generatorIndicates an issue with a source generator featureIndicates an issue with a source generator feature