Skip to content

Instantly share code, notes, and snippets.

@ilyaskarim
Created April 5, 2020 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilyaskarim/fde6d535638471531a114e57c74775b0 to your computer and use it in GitHub Desktop.
Save ilyaskarim/fde6d535638471531a114e57c74775b0 to your computer and use it in GitHub Desktop.
context-in-graphql.ts
// Consider below function as GraphQL resolver.
function (_, args, context,info) {
// You can access wertik context through context.[context_name], including configuration passed context.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment