See https://github.com/dotnet/efcore/pull/31482
See dotnet/efcore#31482