-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EF Core 8.x] - Primitive Collections doesn't work with ICollection, while querying data. #35502
Comments
You have a zip in Issue which can help you with reproducing the Issue. Also somewhere in EF Core there is PopulateList method which is causing a problem. |
Yeah I saw it, but I think the issue might be in VisitBinary in RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.cs that is calling PopulateList with an ICollection |
Could be. But that's where my knowledge ends |
Hi @SamMonoRT and @cincuranet Can I work on this ? if you could allow me and guide me through it please Kind regards |
We welcome all community contributions. Please make a fix on EFcore main. Once you have a locally validated fix and PR ready for review, let us know and we can review and determine possibility of patching 8.0.x builds. |
@maumar Adding you for visibility. |
Bug description
Primitive Collections doesn't work with ICollection, while querying data.
According to this example it should work.
Note: IList, List and T[] works.
EFCoreICollectionBug.zip
Your code
Stack traces
Verbose output
EF Core version
8.0.6
Database provider
Microsoft.EntityFrameworkCore.Sqlite
Target framework
.Net 8
Operating system
Windows 11
IDE
Rider 2024
The text was updated successfully, but these errors were encountered: