ExplicitGraphQLContext
Type Alias: ExplicitGraphQLContext
ExplicitGraphQLContext:
object
Defined in: src/graphql/context.ts:41
Type of the transport protocol agnostic explicit context object that is merged with the implcit mercurius context object and passed to the graphql resolvers each time they resolve a graphql operation at runtime.
Type declaration
currentClient
currentClient:
CurrentClient
drizzleClient
drizzleClient:
FastifyInstance["drizzleClient"]
envConfig
envConfig:
Pick<FastifyInstance["envConfig"],"API_BASE_URL">
jwt
jwt:
object
jwt.sign()
sign: (
payload) =>string
Parameters
payload
ExplicitAuthenticationTokenPayload
Returns
string
log
log:
FastifyInstance["log"]
minio
minio:
FastifyInstance["minio"]