Query fails to translate when used with Owned Types
Open
area-query
customer-reported
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
When using an owned type with a projection query query fails to translate when it is an owned type. You can clone and run this sample [project](https://github.com/pantonis/EFTests) that reproduces it. I have test this with 2 providers. Pomelo and Npgsql same issue with both providers
### Include provider and version information
EF Core version: 8.0.2
Database provider: Pomelo.EntityFrameworkCore.MySql (8.0.1) & Npgsql.EntityFrameworkCore.PostgreSQL (8.0.2)
Target framework:. .NET 8
Operating system: Windows 10
IDE: Visual Studio 2022 17.8.6
Contributor guide
Assessment
This issue has not been assessed yet.