SensitiveDataLogging with ComplexProperty: Unable to cast RuntimeComplexType to type IEntityType #32198
Labels
area-change-tracking
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
Servicing-approved
type-bug
Milestone
Hi, I found this while testing the new ComplexType
Whe i have turn on EnableSensitiveDataLogging and LogTo:
and then i use ComplexType on a List inside ComplexType :
or if i convert this property to json string:
The cast exception appear during commit add entity transaction.
stack trace
EF Core version: 8.0.0-rc.2.23480.1
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: net8.0
IDE: Visual Studio Professional 2022 (64-bit) - Preview Version 17.8.0 Preview 3.0
The text was updated successfully, but these errors were encountered: