Query by nullable property fails with "Null TypeMapping in Sql Tree" #20731
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
Following example worked correctly in EF Core 2.1, however it fails after update to 3.1
Steps to reproduce
Assume we have entities with nullable property Category
The mappings is straightforward
Following test fails
The test throws exception
Further technical details
EF Core version:
PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.3"
PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.3"
PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="3.1.3"
The text was updated successfully, but these errors were encountered: