graphql-python / graphql-python/sanic-graphql
Cleaning up resources in context after request
Abierto
- Lenguaje dominante
- Python
- Estrellas
- 148
- Forks
- 17
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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!
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.