Skip to content
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

eager loading false not working #315

Open
Ekuesky opened this issue Feb 20, 2024 · 1 comment
Open

eager loading false not working #315

Ekuesky opened this issue Feb 20, 2024 · 1 comment

Comments

@Ekuesky
Copy link

Ekuesky commented Feb 20, 2024

RESTQL = {
'AUTO_APPLY_EAGER_LOADING': False
}

not working for me. everytime i send a get request, the renderer send me an eagerload response. how can i avoid it

@yezyilomo
Copy link
Owner

yezyilomo commented Feb 20, 2024

Thank you for reporting this but am not able to reproduce it on my end. Can you try setting auto_apply_eager_loading=False to one view and confirm if the behavior persist.

I'm also curious how do you determine if eager loading has run or not? are you comparing the number of queries executed before and after applying eager loading? cuz I believe that's the only way to know for sure if eager loading has been applied or not.

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

No branches or pull requests

2 participants