File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,9 +39,6 @@ dotnet add package Scarlet.System.Text.Json.DateTimeConverter
3939
4040## Prerequisites
4141
42- - ** .NET 6+** for basic functionality
43- - ** .NET 9+** for ` DateTimeConverterResolver ` (System.Text.Json source generator attribute support)
44-
4542| Target Framework | Reflection + Attribute | System.Text.Json Source Generator + Converter | System.Text.Json Source Generator + Attribute + Resolver |
4643| -----------------| :---------------------:| :------------------------------------------:| :------------------------------------------------------:|
4744| .NET 6, 7, 8 | ✅ | ✅ | ❌ |
@@ -432,7 +429,7 @@ public class Format1 : IJsonDateTimeFormat { public static string Format => "yyy
432429public class Format2 : IJsonDateTimeFormat { public static string Format => " yyyy-MM-ddTHH:mm:ss" ; }
433430```
434431
435- This is a limitation of System.Text.Json source generator not supporting constructor parameters or static analyzer tricks .
432+ This is a limitation of System.Text.Json source generator not supporting constructor parameters for converters .
436433
437434---
438435
You can’t perform that action at this time.
0 commit comments