I use next.js running on firebase function,
and api routes of next.js have config " bodyParser: false" - this way I can prevent body parsing,
and further when I pass (req, res ) to Apollo server it works correctly.
But if I call to next.js running Apollo from cloud function, unfortunately body parsed also there and,
further Apollo server fails, waiting forever to parse body (already parsed by the function),
so config option ""bodyParser: false"" of next.js already useless there.
How can I prevent the function from body parsing? Is there any config option for that?
test-course/pages/api/graphql/index.ts line: 101
const handler = apolloServer.createHandler({ path: '/api/graphql' }); - fails here if body already parsed.
test-course/function.js - and body already parsed here.