获取请求的信息对象

Get info object of the request

我可以使用 this package, as described in and 获取查询信息。如何使用 type-graphql 实现相同的功能(即获取请求的信息对象)?

使用 @Info 装饰器检索 GraphQLResolveInfo 值作为参数。