-
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
Primitive collection - projection with owned entity #31420
Comments
Exception message:
This is by-design. As the message says, use |
Thanks for your reply @ajcvickers Strange. Tested several times and always get the following error (see code below). Removing the owned entity will work.
(Isn't projecting to a non-entity type |
@alienwareone The code you posted does not throw any exception when I run it. |
Thanks for testing this @ajcvickers Seems like it has been fixed #31364. I've just tested this with .NET 8 RC1 and it works. |
System.InvalidOperationException when projecting an entity with an owned entity to a new class.
Reproduction repository: https://github.com/alienwareone/EfCorePrimitiveCollectionProjection/blob/master/Program.cs
The text was updated successfully, but these errors were encountered: