Json: error when trying to materialize json entity with nullable property that is null in the json string - should materialize the property as null instead #34293
Labels
area-json
area-query
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
Maybe a regression of #29219
Materializing a JSON entity with
null
property results in an error even if the target model allows null.Expected to materialize the property as null instead.
Entity Definition:
Data
Example Code to show error
Provider and version information
EF Core version:
Microsoft.EntityFrameworkCore v8.0.7
Database provider: Npgsql.EntityFrameworkCore.PostgreSQL v8.0.4
Target framework: .NET 8.0
Operating system: Windows
IDE: Microsoft Visual Studio Community 2022 (64-bit) Version 17.10.4
The text was updated successfully, but these errors were encountered: