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

Projectify: Turn loader init into middleware #103

Merged
merged 1 commit into from
Feb 4, 2022

Conversation

justuswilhelm
Copy link
Collaborator

This initializes Loader() as part of middleware, not the view. This potentially allows us to populate loaders inside gql subscriptions as well. Unfortunately it is still broken, because now gql subscriptions don't return anything at all anymore. See datadvance/DjangoChannelsGraphqlWs#91

@justuswilhelm justuswilhelm merged commit ff8645b into main Feb 4, 2022
@justuswilhelm justuswilhelm deleted the loader-middleware branch February 4, 2022 05:44
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.

1 participant