NextJS API Route FieldResolvers Not Working #1119
Unanswered
mrkirchner
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the Bug
Running Typegraphql server as an api route in Nextjs, i can get queries and mutations to work but field resolvers are never called. Running graphql a different way seems to work fine field resolvers and all.
Any help on what might be issue or things to try would be greatly appreciated.
To Reproduce
See https://github.com/mrkirchner/NextJS-Typegraphql
Example has both apollo sdl and type graphql, the sdl version works perfectly fine but type graphql does not.
Expected Behavior
Field resolvers to be called when querying additional data.
Environment (please complete the following information):
Additional Context
#1006 commented on this closed issue a while ago but no answer so thought i would create a new issue instead.
Beta Was this translation helpful? Give feedback.
All reactions