Skip to content

v1.0.0-rc.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@JozefFlakus JozefFlakus released this 17 Sep 09:17
· 823 commits to master since this release

Whats new?

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.