-
I would love to use the monitor middleware in my new koa 2 application. Unfortunately it does not work as expected when only using koa-convert to bridge different middleware signature. Something else …
-
koa deprecated Support for generators will been removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/tree/v2.x#old-signature-middleware-v1x
-
Hi there!
I like koa and its paradigms, but as a used-to-express user I was severely wondering how it's possible that there is no `app.get()` or `app.post()`. I then realized that I need koa-router…
-
## Koa 中间件
[Koa 生态](https://github.com/koajs)提供了各种各样的中间件供我们使用,可插可拔,非常灵活,开发者也可以根据自己的需求开发中间件。
Koa 本身只是实现了中间件流程控制,就能让我们在 Koa 中简单的使用中间件,那么它是怎么实现的呢?
本节我们先说说 Koa 的 use 方法做了什么,下一节我们将对 Koa 精妙的中间件流程控制…
-
I'm coming back to a project after a while where I used koa-range to be able to scrub video when using web dev server.
Using the middleware worked great a while back. However, now when updated to t…
-
## 问题描述
原本正常的服务迁移到新服务器上后登录时提示:
> Authentication failed – we were unable to sign you in at this time. Please try again.
停用新服务,原有服务重新启用也开始报同样的错误。
两个服务都是同样的方式部署,通过 nginx 将同一个域名指向不同的服务IP。
doc…
-
Hi! I'm try to use koa-socket-2 in my project with middleware. I took an example from docs and it doesn't work for me.
Here is example of my code:
```
const Koa = require('koa');
const IO = re…
-
Koa 2.0 is moving away from generator functions completely, which came as a bit of a surprise. The ultimate end-goal appears to be building the middleware around ES7 async/await. That works in the alp…
-
I tried to change userProperty in initialize function but in but userProperty still 'user' and there is no custom userProperty in ctx.state. I forked repo and pass userProperty in _initialize function…
-
#### This issue pertains to the following package(s):
- [ ] GraphQL Playground - Electron App
- [ ] GraphQL Playground HTML
- [ ] GraphQL Playground
- [x] GraphQL Playground Express Middleware
…