Closed thosakwe closed 3 years ago
This issue was originally created by @venkatd here, before being automatically moved: https://github.com/angel-dart-archive/graphql/issues/38
I'm unsure how I to store current user inside and later access to it in my resolvers. What is the recommended way to do this?
I see there are some variables set like so:
var globalVariables = <String, dynamic>{ '__requestctx': req, '__responsectx': res, };
But not sure how to add data to them.
This issue was originally created by @venkatd here, before being automatically moved: https://github.com/angel-dart-archive/graphql/issues/38
I'm unsure how I to store current user inside and later access to it in my resolvers. What is the recommended way to do this?
I see there are some variables set like so:
But not sure how to add data to them.