-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
Description
Hi, I'm having a problem filtering entities when retrieved through a join.
This is my case (simplified):
Let's say I have a User entity, and a Car entity. Both entities are soft-deletable (whether they're a good pattern or bad, I use them). When I find a User, the filter is applied, as well as with the Car entity. However, when I find a User and include the Car in a join, the filter is only applied to the User entity, and it returns the deleted Car entities as well.
I could not find any documentation as to whether this is expected (and wanted) behaviour, or a "bug". Shouldn't the filters also be applied to fetched relations?
Can anyone elaborate?
Edit: upon better search, this might be related to #6037
Reactions are currently unavailable