DEV Community

loading...

Discussion on: Handling errors in GraphQL

Collapse
jhalborg profile image
jhalborg

Hey André, thanks for a great post! I'll definitely use some of these pointers in my project.

Do you have any strategy for bulk-adding the handler helmet for all resolvers, without having to wrap all of them explicitly with helmet(resolver)? That'd be useful, at least in the beginning of a project before any needs for custom handling depending on resolver is needed, if ever

Collapse
victordombrovskiy profile image
Victor Dombrovskiy

GraphQL Middleware package is doing exactly what you need. Try it.

Forem Open with the Forem app