-
Specifically: how to gen typeof Context for usage in codegen? |
Beta Was this translation helpful? Give feedback.
Answered by
n1ru4l
Jun 3, 2023
Replies: 1 comment
-
Hey @Warxcell, you can set a custom context for the typescript-resolvers plugin using the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
n1ru4l
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @Warxcell, you can set a custom context for the typescript-resolvers plugin using the
contextType
configuration option. https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-resolvers#contexttype