routing-controllers
routing-controllers copied to clipboard
Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage in Express / Koa using TypeScript and Routing Controllers Framework.
### Description Controllers are created in the order they are registered with metadata, not in the order they are passed into the router controller options. ```ts @Controller() class ThirdController {...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tmpl&package-manager=npm_and_yarn&previous-version=1.0.4&new-version=1.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
I was sending custom HttpErrors that changes the response to the user but I can't do this when I'm validating request bodies because it's using the one that came with...
## Description Export type 'CurrentUserChecker' and 'AuthorizationChecker' in the entry file to make it easier to import related types, Like this: ```ts import Koa from "koa"; import { useKoaServer }...
```javascript useExpressServer(app, { routePrefix: '', controllers: [__dirname + "/controller/**/*.controller{.ts,.js}"], middlewares: [myMiddle], development: process.env.NODE_ENV === 'dev', defaultErrorHandler: false, vhost: 'my.host.com' // Whether to add support for vhosts, like this }); ```...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
## Description The authorization checker is executed after the middlewares (beforeMiddlewares). This not really make sens when you want to limit access to resources. **Actual behavior** ![Screen Shot 2021-04-05 at...
Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.5.3. Release notes Sourced from ws's releases. 7.5.3 Bug fixes The WebSocketServer constructor now throws an error if more than one of the noServer, server,...
Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.7 to 4.17.13. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/express&package-manager=npm_and_yarn&previous-version=4.17.7&new-version=4.17.13)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 Commits 8d4b369 chore(release): 2.8.9 29adfe5 fix: backport...