-
I use apollo server with context type: server.ts:
How can i autoload and bind Ctx type to ctx in resolver?
Without typegenAutoConfig ctx type is any. With typegenAutoConfig its type is {}. |
Beta Was this translation helpful? Give feedback.
Answered by
ziimakc
Sep 26, 2020
Replies: 1 comment
-
It seems there is problem with path when using next.js, so solution is:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ziimakc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems there is problem with path when using next.js, so solution is: