efcore icon indicating copy to clipboard operation
efcore copied to clipboard

Query: Inconsistency in reverse owned navigations handling

Open smitpatel opened this issue 3 years ago • 2 comments
trafficstars

We have some inconsistent code around how back-ref (pointing to owner) working for owned navigation. It may or may not be working.

smitpatel avatar Sep 09 '22 22:09 smitpatel

Do you have any specific scenarios in mind where it might not work?

AndriySvyryd avatar Sep 15 '22 19:09 AndriySvyryd

From Query side, I am not entirely sure that it translates correctly. Nav expansion may be chopping it off. or we may generate join back. Or we may not generate join at all and throw random exception. Or we end up using actual properties from owner side. So unknown behavior.

smitpatel avatar Sep 15 '22 21:09 smitpatel