Closed EdwardZZZ closed 4 years ago
Hi, thanks for the PR, could you please explain why we need this feature, thanks again.
Hi,The current 'koa-views' only supports the extension of the middleware form, the middleware form has a requirement on the order, but there is no requirement on the order through the extension of the app.context, and the extension form is more flexible.
the middleware form has a requirement on the order, but there is no requirement on the order through the extension of the app.context
It's the problem(or feature) of Koa, maybe it's not a good idea to handle this case in this way.
We are restrained to add a new feature, for removing a feature is hard.
Actually, for the expansion of the context, Koa made clear suggestions:
Ok, thanks for the explanation, would you please do:
2
after a sentence is strangeOK
Thanks, i'll release a minor version later :-)
Released via v6.3.0
support app.context, not need middleware