Skip to content

Conversation

@calumbell
Copy link
Contributor

Closes #660

This PR updates the EagerLoadingMixin (/api_v2/views/mixins.py) so that eager loading works correctly on nested ForeignKeys when a fields query parameter is provided

@calumbell calumbell merged commit 1947887 into open5e:staging Apr 7, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Query parameters breaks prefetching of deeply for nested ForeignKeys

2 participants