We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8b57921 + e626f4f commit 4e58592Copy full SHA for 4e58592
src/Serialize.Linq/Internals/KnownTypes.cs
@@ -18,7 +18,10 @@ internal static class KnownTypes
18
typeof(DateTime), typeof(DateTimeOffset),
19
typeof(TimeSpan), typeof(Guid),
20
typeof(DayOfWeek), typeof(DateTimeKind),
21
- typeof(Enum)
+ typeof(Enum),
22
+ #if NET6_0_OR_GREATER
23
+ typeof(DateOnly), typeof(TimeOnly),
24
+ #endif
25
};
26
27
private static readonly HashSet<Type> _allExploded = new HashSet<Type>(Explode(All, true, true));
0 commit comments