Skip to content
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

app.use(session(app)) koa deprecated Support for generators will be removed in v3 #75

Closed
raymond-liao opened this issue May 16, 2017 · 2 comments

Comments

@raymond-liao
Copy link

When I use the 'koa-session' there is a warning:

koa deprecated Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/blob/master/docs/migration.md

But on koa-generic-session, I see "please migrate to koa-session".
Sorry, I'm confused.... Where is the right way?

@dead-horse
Copy link
Member

plz use koa-session@5.x for koa 2.x

@raymond-liao
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants