graphql icon indicating copy to clipboard operation
graphql copied to clipboard

Support enhancers for federated graphql requests in fastify integration

Open bartekbp opened this issue 5 months ago • 0 comments

Is there an existing issue that is already proposing this?

  • [X] I have searched the existing issues

Is your feature request related to a problem? Please describe it

I'm new to nestjs and setup interceptors and guards global for authorization, authentication and request logging. Unfortunately, I discovered they are not called for federated requests. Non-federated requests invoke them. I'm using fastify integration, I didn't check apollo.

Describe the solution you'd like

Ideally, non-federated and federated requests should have the same lifecycle.

Teachability, documentation, adoption, migration strategy

What is the motivation / use case for changing the behavior?

Lack of consistency limits how useful enhancers are.

bartekbp avatar Sep 22 '24 11:09 bartekbp