Skip to content

What difference between GraphQLContext and DataFetchingEnvironment? #1137

Answered by dariuszkuc
walfud asked this question in Q&A
Discussion options

You must be logged in to vote

DataFetchingEnvironment contains GraphQLContext (which can be any object) as well as some additional information about the currently executed request (i.e. which field is being requested, what arguments were specified, etc).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@smyrick
Comment options

@walfud
Comment options

Answer selected by smyrick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants