Option to use DateOnly rather than DateTime when using xsd date type
Similar to https://github.com/mganss/XmlSchemaClassGenerator/issues/310
+1 for this
As XmlSerializer doesn't seem to support DateOnly yet, is there a use case for it?
Ah, you are right, just found the issue https://github.com/dotnet/runtime/issues/56711
Maybe generating NodaTime types is an option? They seem to support xml serialization properly https://nodatime.org/1.2.x/userguide/serialization
@Lanayx That's a good idea. I probably won't get to it soon but PRs are always welcome.
@mganss it did happen! DateOnly support has been merged to .NET 10 https://github.com/dotnet/runtime/pull/120013