Cosmos no longer supports Dictionary with TValue type of primitive collection #34105
Labels
area-cosmos
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
regression
type-bug
Milestone
Previously, in EF 8, you could map a property to type
Dictionary<string, string[]>
and access the properties correctly like this:In current main branch instead this give a cast error:
I suspect this is a regression via #33456.
This also happens if using List etc.
EF Core version: main@1847e1e
Database provider: (e.g. Microsoft.EntityFrameworkCore.Cosmos)
Target framework: (e.g. .NET 9.0)
Operating system: Windows 11
IDE: Rider 2024.1.3
The text was updated successfully, but these errors were encountered: