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
Apparently the prefetched cache is being sent to the subclass, but the filters are being applied to the parent class. I know this because I see error messages about an n+1 query on the parent class only when applying the filters.
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
Describe the Bug
Polymorphic interfaces break the prefetch cache when a nested field has filters/ordering applied.
This works:
This also works:
This doesn't:
System Information
Additional Context
Apparently the prefetched cache is being sent to the subclass, but the filters are being applied to the parent class. I know this because I see error messages about an n+1 query on the parent class only when applying the filters.
Upvote & Fund
The text was updated successfully, but these errors were encountered: