koa-flash
koa-flash copied to clipboard
Flash messages for your koa application.
- update middleware signature to (ctx, next) - update examples / comments / docs - update dependencies
Hello, I tried to use this module in a web app that also uses koa-passport, the problem is that passport expects flash, in the request to be a function accepting...
I think the koa-session dependency is not warranted and should be removed. This prevents from other session middle-ware being used to work for no reason. I'm currently working with koa-generic-session...
I just spent an hour debugging this, so consider this an excuse for such header. The pattern when you read `this.flash` from one object (`data`) and write `this.flash` to another...
Just found out doing `this.flash.somekey = somevalue` can result in some hard to debug problems :) Instead of handling this edge case though, maybe we should just seal `this.flash` instead?...