Skip to content

Commit 77eafac

Browse files
authored
fix: render decorator for koa driver (#1482)
1 parent 959be82 commit 77eafac

8 files changed

+227
-1116
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -728,8 +728,10 @@ getOne() {
728728
```
729729

730730
To use rendering ability make sure to configure express / koa properly.
731-
To use rendering ability with Koa you will need to use a rendering 3rd party such as [koa-views](https://github.com/queckezz/koa-views/),
732-
koa-views is the only render middleware that has been tested.
731+
To use rendering ability with Koa you will need to use a rendering 3rd party such as [@koa/ejs](https://github.com/koajs/ejs),
732+
@koa/ejs is the only render middleware that has been tested.
733+
734+
See [the koa render test file](./test/functional/koa-render-decorator.spec.ts) as an example.
733735

734736
#### Throw HTTP errors
735737

0 commit comments

Comments
 (0)