Closed AhmadEl-Banna closed 6 years ago
Hi @AhmadEl-Banna, thanks for your question.
There are no plans to support other servers than express so far. Can you further describe your requirements/use case?
Closing this for now, as there has been no more feedback on the issue.
I already run a koa server and would like to add the middleware to koa.
How tightly bound to express is it? Would it work if I used a koa express wrapper like https://www.npmjs.com/package/express-to-koa?
@vjpr did using that wrapper work for you?
@kbrandwijk @schickling still no plans to support Koa?
For me, koa has better design, with koa I can easily track all of my request and response.
Maybe we could make graphql-yoga
support most servers like apollo-server.
Hey, @Urigo from The Guild here!
You might know us from projects such as graphql-code-generator, envelop or graphql-tools.
For a long time we thought that the Javascript ecosystem is still missing a lightweight cross-platform, but still highly customizable GraphQL Server.
In the past the awesome Prisma team took on that great challenge and now we are happy to announce that we are continuing them and just released GraphQL Yoga 2.0 - Build fast, extensible, and batteries-included (Subscriptions, Serverless, File uploads support) GraphQL APIs in Node.js 🚀
And regarding the issue here, Yoga is completely separated from the way you do HTTP, so you can easily use and expose anything to express but also use Yoga on many other environments and frameworks like Fastify, Koa, Hapi, Cloudflare Workers, Lambdas and many more.
We have been working a long time on version 2.0 and have been using it in our clients projects for a few months now and shared a couple of alpha cycles here. Thank you all for your feedback and suggestions, you made this release possible!
Please try Yoga out again, give us feedback and help us spread the word on the new release!
do you have any plan to support any servers rather than express soon ?