You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked at it, and it was weird. Because in the lifecycle there is no preHandler hook.
And mercurius has its own function to add hooks "app.graphql.addHook"
Hello,
I would like to know if it is normal behavior for a hook to be triggered with graphql queries?
Considering, that it has its own hooks function.
hook that is loaded:
graphql specific hook in mercurius:
Demo project:
https://github.com/YuriFontella/graphql-add-hook-test
The hook loaded as a plugin, is called for every graphql query executed.
The text was updated successfully, but these errors were encountered: