Thank you very much for your tutorial, it was very helpful.
In Nest v7 you don't really need to create custom Decorators, you can use the @Context decorator from graphql package:
import{Args,Context,Mutation,Resolver}from'@nestjs/graphql'// and in your mutation:@Mutation()asynclogin(@Args('loginInput'){email,password}:LoginInput,@Context('res')res:Response,){
Thank you again
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you very much for your tutorial, it was very helpful.
In Nest v7 you don't really need to create custom Decorators, you can use the @Context decorator from graphql package:
Thank you again