Replies: 1 comment 1 reply
-
They are already exposed by HttpContext : router.post('/graphql', ({ request, response }: HttpContext) => {
// IncomingMessage and ServerResponse
handler(req.request.request, res.response.response);
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
More specifically http.IncomingMessage just like how
ServerResponse is exposed under response.
Hiding those makes integration harder with other systems.
For instance, exposing them would make things like adding graphql integration in a route a breeze.
Beta Was this translation helpful? Give feedback.
All reactions