Skip to content

Cleaning up resources in context after request #15

Description

@DrPyser

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions