【发布时间】:2021-07-27 06:15:40
【问题描述】:
如何将@Res() 传递到我的 graphql 解析器?
这不起作用:
@Mutation(() => String)
login(@Args('loginInput') loginInput: LoginInput, @Res() res: Response) {
return this.authService.login(loginInput, res);
}
【问题讨论】:
标签: node.js typescript graphql nestjs typegraphql