Reputation: 727
I can get query info by using this package, as described in here and here. How do I implement same functionality (i.e. get info object of the request) with type-graphql?
Upvotes: 0
Views: 301
Reputation: 12127
Use @Info
decorator to retrieve GraphQLResolveInfo
value as the parameter.
Upvotes: 1