Skip to main content

Module context

Module context 

Source
Expand description

GraphQL context containing auth, database pool, and schema cache.

Structs§

GraphQLContext
Context available to all GraphQL resolvers.

Functions§

hasura_session_document
The session as a function reading hasura_session expects it.
session_settings_for
The SET LOCAL settings a request’s session variables and role need.

Type Aliases§

SharedWrite
The transaction every write in one operation shares.