-
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
Disallow tracking queries for owned entities without their owners #13036
Comments
Another option discussed in triage is to make queries for non roots of the aggregate always be no-tracking. Referencing from #1985 to consider as part of the overall aggregate behaviors. |
We will throw for now, until the Include pipeline supports including the owner without a navigation. |
Decisions:
|
@AndriySvyryd - What is the status of this one. #13579 said to apply decision for here but that issue is closed now. Does that mean this one has been fixed? |
#13579 was about tracking both the owner and the owned, that works now. |
Poaching! 😉 |
@ajcvickers - Do we need to announce this as breaking change somewhere? |
@smitpatel We should, but it's a low-impact. I can do it. |
@smitpatel @AndriySvyryd I started writing it, but it's actually more of a bug that we ever tried to do this--an I couldn't even make it work in simple cases on 2.2, so I think it's fine to treat this as a bug we fixed. |
Querying
Customer.Address
should also bring in theCustomer
for tracking queries as there's no reason to track an owned entity without its owner.The text was updated successfully, but these errors were encountered: