Resolver receives undefined as context #3617
Unanswered
joshuaellis
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
-
For some reason this resolver doesn't seem to get passed the context of the graphql server. So I cannot access the
dataSources
arguments. The sanity resolver works fine which uses a Remote Executor and the Klaviyo Schema which is another custom schema accessingdataSources
works fine too.I'm calling the graphql server, server side normally just the sanity schema and that works fine. Could it be trying to access the
context
object server side not working?Server setup:
Yotpo Schema:
Yotpo Typedefs:
The Apollo Client:
Any help at all would be great, i'm starting to pull my hair out 😢
Beta Was this translation helpful? Give feedback.
All reactions