v1.0.0-rc.3
Pre-release
Pre-release
JozefFlakus
released this
17 Sep 09:17
·
823 commits
to master
since this release
Whats new?
- Integration with path-to-regexp library
- Support for wildcard parameter, eg.
/foo/:param*
. For more details see: example implementation
const getFile$ = EffectFactory
.matchPath('/:dir*')
.matchType('GET')
.use(req$ => req$
.pipe(
map(req => req.params.dir as string),
switchMap(readFile(STATIC_PATH)),
map(body => ({ body }))
));
- Fixed a problem with incorrectly generated declaration files for
@marblejs/middleware-joi
package.