See https://github.com/dotnet/efcore/issues/31055
See dotnet/efcore#31055