Closed roycornelissen closed 2 years ago
I just spent some time trying to figure this out but to no avail. I'm going to reach out to MS to see if they are able to provide some insight.
@roycornelissen - Sorry for the delay but I just released 6.0.1 to NuGet which should resolve this issue.
@StevenRasmussen awesome, works like a charm! Thanks!
I just upgraded our application to .NET6 and it uses this package for NodaTime support with EF Core 6. For our automated tests, we create a DBContext like so:
However after the upgrade, the
MyDbContext.ctor
throws anArgumentNullException; 'Value cannot be null. (Parameter 'provider')'
. The stack trace seems to indicate that it is somewhere in theNodaTimeOptionsExtension.Validate
class, but I can't really figure out why. Any idea? Am I missing something?Stack trace;