You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Query: QueryFilters/Defining queries are not applied recursively #13361
As described in #11803, query filters (and also defining queries included), are not applied recursively. Fix for that issue apply recursion at expansion time but it became quite limited in terms of what it can do. Specifically following issues were ignored
Navigation expansion is not done. So query filters would not be applied on db set coming through navigations.
Effectively the fix only made it possible to apply recursively only when referencing direct dbset or dbquery of entitytype without any annotation.
Fixing this requires us to apply few operations like extract annotations, nav expansion, query optimizer on expanded part and apply it recursively. Currently it is too fragile to effectively arrive at terminating condition (due to relinq's in-place QueryModel mutation).
Hence reverting the fix for #11803
Activity
ajcvickers commentedon Oct 22, 2018
Note from triage: we are okay with a new cache entry when the filter is disabled.
ajcvickers commentedon May 10, 2019
We should at least make sure it throws for 3.0 instead of returning incorrect results.
Fix to #15264 - QueryRewrite: incorporate query filters into nav rewrite
2 remaining items
AndriySvyryd commentedon Aug 22, 2019
@maumar Is this fixed/not needed now?
smitpatel commentedon Aug 22, 2019
I believe fixed.
maumar commentedon Aug 22, 2019
fixed indeed, closing