Open yanickrochon opened 4 years ago
express-graphql
uses some express-only methods, such as response.json(object)
, which is a really bad practice.
So, express-to-koa
could not support express-graphql
I suggest to create an issue to express-graphql
to discuss whether the project could avoid this.
Thank you for answering. This is quite unfortunate for the Koa community that the ultimate solution to most of the problems with koa middleware is : use express or wait for someone to possibly fix it. There is a project to wrap this module, koa-graphql
but there's no one to update it. (I have contacted the guys at the GraphQL community if they can do anything to help.)
As long as a middleware is express-independent, express-to-koa
is able to handle it 😄
Because
koa-graphql
is 2 years outdated, I'm (temporaily?) usingexpress-graphql
. Everything seems fine, the GraphiQL interface loads, but submiting a query falls in pending then time out.