Skip to content

Context in Field Resolvers #896

Answered by jimbuck
jimbuck asked this question in Q&A
May 27, 2021 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

So we actually figured out why the context was an empty object. The field resolver was being executed via the result of a subscription. Since it's not tied to one single request the context was empty, which is the correct behavior. We are updating our code to handle these scenarios.

Thanks for your help, and for the awesome library!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@jimbuck
Comment options

@MichalLytek
Comment options

@jimbuck
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jimbuck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants