0

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?

Petro Ivanenko
  • 637
  • 2
  • 8
  • 19

1 Answers1

1

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

Michał Lytek
  • 10,577
  • 3
  • 16
  • 24