Petro Ivanenko
Petro Ivanenko

Reputation: 727

Get info object of the request

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

Answers (1)

Michał Lytek
Michał Lytek

Reputation: 12127

Use @Info decorator to retrieve GraphQLResolveInfo value as the parameter.

Upvotes: 1

Related Questions