@Damien_Guard Integration tests did not detect that, but there was a reason to use the nullable DateTime converter. This was a fix to enforce all DateTime to be stored as UtcKind. Source: c# - Entity Framework DateTime and UTC - Stack Overflow

I think in Mongo EF provider the same thing is to use the SetDateTimeKind ? So i just branch in Configuration and set that for Mongo and leave the nullable converter for the rest.

The usecase is that we have a microservice system and we are sharing a lot of EF configuration in shared libraries. Some microservices are using postgres and others mongodb. Hence the branching needed here