graphql-python / graphql-python/sanic-graphql

Cleaning up resources in context after request

Open
#15 0 comments 2 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.