New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Koa2 implementation question #70
Comments
Last time I checked Grant was working fine with Koa2. Check out my comment here. I know that support for generators will be dropped in Koa3 so I think that would be a breaking change here as well. Using async/await functions for your Koa routes shouldn't be a problem, it's just that Grant is going to use a generator function for its routes. I'm usually fairly quick to respond and apply a patch if needed so you just have to let me know if something isn't working. |
mm, sorry, i'm not aware of any Koa3, did i miss something? AFAIK, current version is v1 and it uses generators. So when v2 released, will you support both versions or would async/await version replace generators one? Thanks. |
Check out this section:
From my prevous comment:
Again: Grant currently works with both Koa1 and Koa2, however it won't work with Koa3 out of the box. Let me know if something isn't working for you with Koa2. |
thanks for patience :) |
works perfect! |
No problem, thanks for the feedback! |
Any thoughts on how to handle Koa consumer after Koa2 released?
Chrome 55 released today and there is progress on a Node7 release that will ship with V8 5.5.
Node may land with official async/await support in less than a month.
Same for Koa2.
Would you ship a Koa2 version or replace existing one?
Thanks.
The text was updated successfully, but these errors were encountered: