-
In It makes sense in Thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Seems like a good feature to add. |
Beta Was this translation helpful? Give feedback.
-
If we look at the function signature, preExecutionfastify.graphql.addHook('preExecution', async (schema, document, context) => { onResolutionfastify.graphql.addHook('onResolution', async (execution, context) => { For now, I'll just use this feature. Didn't know it exists. 😄 |
Beta Was this translation helpful? Give feedback.
If we look at the function signature,
document
should be beforecontext
inonResolution
. But then that would be a breaking change!preExecution
onResolution
For now, I'll just use this feature. Didn't know it exists. 😄