DEV Community

loading...

Discussion on: Signup and Login CQRS Pattern with Nest JS, Passport and GraphQL

sk8guerra profile image
Jorge Guerra

Here it is:

export const Context = createParamDecorator(
    (data, [root, args, ctx, info]) => ctx
);
Enter fullscreen mode Exit fullscreen mode

In @nestjs/core 6.0.0 you can access the context like that.

Does it solve your problem?

Thread Thread
eliotis profile image
Takis Koumoutsakos

Thanks for your reply Jorge, will try later.