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

Results not cleared across API calls #18

Open
MichaelKim0407 opened this issue Jul 18, 2023 · 0 comments
Open

Results not cleared across API calls #18

MichaelKim0407 opened this issue Jul 18, 2023 · 0 comments

Comments

@MichaelKim0407
Copy link

This might be a stupid question, but since the loader is a global variable, does it keep the values cross multiple API calls?

I'm only seeing database queries after the first time I start the server; afterwards no db queries are made and all values remain the same even after I modify the db records.

I'm using Django 4.2.

Django==4.2.3
graphene==3.2.2
graphene-django==3.1.2
graphql-core==3.2.3
graphql-relay==3.2.0
graphql-sync-dataloaders==0.1.1
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

1 participant