Hello, I have a general question about NestJS basics.
I am working on the project and some functionality (fetch data from DB) needs to be done before it hits the GraphQL resolver.
Reading the documentation middleware can help to accomplish this mission. However, it seems like middleware does not exactly support GraphQL (can't get a request body/middleware creating a different session rather than GraphQL/etc).
Then I thought to use Guards BUT, Guards is designed to prevent from resolver being executed if the data isn't match.
So what is the right way to accomplish this kind of task?