Closed franklbt closed 1 year ago
/cc @smitpatel
Duplicate of #23410 Fixed in 5.0.1 @franklbt - Can you try on 5.0.1 patch release and verify if this works for you?
The method is now called, but the value of arguments[0].TypeMapping
inside SqlServerDictionaryMethodCallTranslator class is null. Is this behaviour normal ?
Given arguments[0] is verified to be columnExpression, it must have a type mapping associated with it which comes from model itself. Can you share a runnable repro project which demonstrate the behavior so we can investigate?
I have an issue with my query, it use ValueConverters and MethodTranslator. I try to filter Articles entity by a predicate on title, and the value is a JSON dictionary in db, in which each key is a lang.
Here is the (simplified) code:
When I run this, I have the following exception:
When I put a breakpoint at the start of the Translate method, it is never hit.
Include provider and version information
EF Core version: 5.0.0 Database provider: Microsoft.EntityFrameworkCore.SqlServer Target framework: .NET 5.0 Operating system: Windows IDE: JetBrain Rider