Cédric Luthi
Cédric Luthi
Well, crossing fingers for .NET 10 then. 🤞
This has been done in #1863 and released in [NJsonSchema.CodeGeneration 11.5.1](https://www.nuget.org/packages/NJsonSchema.CodeGeneration/11.5.1).
> not sure why this information is missing from the log in the latest version It looks like it's because the injected `ILogger` instances are created very early (`var app...
I just pushed ab727698d1d2d844a3c2d0bc07ae6745122dc522 which introduces a new [AppContext](https://learn.microsoft.com/en-us/dotnet/fundamentals/runtime-libraries/system-appcontext) switch to restore the previous behaviour of mapping `DbType.Date` to `DateTime` (instead of `DateOnly`). ```csharp AppContext.SetSwitch("Sylvan.Data.MapDateToDateTime", true); ``` This allows to...
EF Core 8 went with a breaking change regarding this topic too. [SQL Server `date` and `time` now scaffold to .NET `DateOnly` and `TimeOnly`](https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-8.0/breaking-changes#sql-server-date-and-time-now-scaffold-to-net-dateonly-and-timeonly)
Thanks for your contribution @eleazarcelis.