controller、service 等都已经支持 async function 了,现在 egg 核心中剩下各处中间件的改造,插件现阶段不适合进行改造。 - [x] egg 加载的中间件。 - [x] router 中引入的中间件。 - [x] 应用自行通过 `app.use(mw)` 引入的中间件。 - [x] schedule 插件(现在应该是支持的,需要增加测试用例保证)。https://github.com/eggjs/egg-schedule/pull/13 - [x] multipart 插件。https://github.com/eggjs/egg-multipart/pull/3 - [x] 集成 aa 的测试用例。#339 - [x] ctx.curl 和 app.curl 的支持 #342 - [x] render 相关方法的支持 #343 - [x] 如何在 egg 中使用 aa 的文档 #349
controller、service 等都已经支持 async function 了,现在 egg 核心中剩下各处中间件的改造,插件现阶段不适合进行改造。
app.use(mw)引入的中间件。