This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Description
Inside the request handler the next callback is not being called on completion
This does not allow for using the after event in restify res.on('after', () ={}) or doing middleware chaining in express
app.use(<pre-execution middleware>);
app.use('/graphql', graphqlHTTP({
schema: schema,
}));
app.use(<post-execution middleware>);
Could we get this added in by default or add a toggle in the options to forward the middleware?
I'll create the PR if this is deemed valid.
Thanks!