-
Notifications
You must be signed in to change notification settings - Fork 820
Closed
Description
The context story seems very confused in the newest version. My understanding from the graphql-js 0.5.0 release notes is that all resolving functions should now have the signature ([self,] args, context, info), as opposed to ([self,] args, info).
At the moment, if I update a resolve_NAME method to take context, then it throws argument errors.
Also, mutations don't take context and therefore they cannot access context data. It think a patch similar to this one on graphql-relay-js is necessary for the relay mutations at least, but probably for all of them.