Created
April 5, 2020 12:56
-
-
Save ilyaskarim/fde6d535638471531a114e57c74775b0 to your computer and use it in GitHub Desktop.
context-in-graphql.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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