We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Introduce a new interface for extension hooks - on request/validation/parsing/execution using context managers instead of on start/end hooks:
def on_request(self) -> Iterable[None]: # This part is called when a GraphQL request starts yield # This part is called when a GraphQL request ends
This makes it easier to manage resources (e.g. open connections) and share data between start/end hooks
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Feature Request Type
Description
Introduce a new interface for extension hooks - on request/validation/parsing/execution using context managers instead of on start/end hooks:
This makes it easier to manage resources (e.g. open connections) and share data between start/end hooks
The text was updated successfully, but these errors were encountered: