graphql-python / graphql-python/sanic-graphql
Cleaning up resources in context after request
Open
- Dominant language
- Python
- Stars
- 148
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
I'm using the graphql context to pass (potentially) shared resources, like database connections, to the schema resolvers.
These resources eventually need to be cleaned up(i.e. closing connections).
What's the best way to do that right now?
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.