-
- [ ] Koa routes
- [ ] Routes middleware
- [ ] Auth
- [ ] Logs
- [ ] Controller
-
Because [`koa-graphql`](https://github.com/chentsulin/koa-graphql) is 2 years outdated, I'm (temporaily?) using [`express-graphql`](https://github.com/graphql/express-graphql). Everything seems fine, …
-
## This refactoring will ensure that a large number of api and property break changes will not be designed
1. Optimize existing @farmfe/core config logic design
2. Add debug debugging to the nod…
-
i `m set a regexp to router.use(), got a error:
> Error: `(.*)`: `middleware` must be a function, not `object`
> at Layer. (...\node_modules\koa-router\lib\layer.js:38:13)
> at Array.forEach…
-
The browser gets a `Not Found` response, the server crashes with
```
Error: Can't set headers after they are sent.
at validateHeader (_http_outgoing.js:504:11)
at ServerResponse.setHead…
-
We should document middleware that we recommend to do common things, such as:
- [ ] cors
- [ ] compression
- [ ] proxy
-
I am working on a Koa v1 app and would like to implement new routes with async/await instead of generator functions. I found this library has `convert.back()` which is mostly working for me. However, …
-
If you call `ctx.res.end()` in your middleware chain, then you will get a `Can't set headers after they are sent.`, because ‘autoCommit’ attempts to set cookie header on the koa middleware return phas…
-
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 src/index.js…
-
Hello, I'm using socket.io and koa-session. How can I get user session information (same as ctx.state.user in koa middleware) in socket context, where I have only cookie session id?