Skip to content

Glossary: GraphQL APIs

Context

Also written: ctx

An object shared by every resolver during one request, passed as the third resolver argument. In kc-graph it holds the database, loaders, the logged-in user and the pub/sub.

Where the book teaches it

Related terms

Context functionResolver