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 When using routing controllers, I don't want to explicitly set an interceptor to each controller action even though I (might) want to specify the priority, in how they're...
When the Get and Head requests are provided with the same paths, both the functions corresponding to the path are getting executed. The test code that I tried was: ```...
Hi :) Since query parameters with array are completely unusable in real world use case, could you please push to the npm registry the ` 0.10.0-rc1` tag so we can...
Hi, I have routing-controllers over Express server. I inject services to the controllers, and I wonder if there is a way to create a service per HTTP request? A more...
I would like to use DI in a per-action middleware like in global middleware like this. ```typescript export class GoogleLoginMiddleware implements ExpressMiddlewareInterface { constructor(private translationService: TranslationService) {} use(request: Request, response:...
### Description When attempting to use `express-session` for session management (with the intention of making use of the `@Session` decorator) Errors thrown within routes are no longer being handled by...
import vhost = require('vhost')
### Description Cannot use TypeDI as explained on the README for basic services. Obviously, it is written that it only requires the `@Service` on service side (seems legit), but this...
**I was trying to...** Every request coming to my server containing a correlation id. In order to do so I have 2 middlewares. 1. A **Before middleware** that creates a...
For now we rely on the routing of the underlying driver (express or koa). However express and koa routers are really slow, as you can see in benchmarks: https://github.com/delvedor/router-benchmark ```...