Skip to content

Commit 9f411a9

Browse files
committed
nit
1 parent 4c3f23e commit 9f411a9

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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
432429
public 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

0 commit comments

Comments
 (0)