routing-controllers icon indicating copy to clipboard operation
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.

Results 145 routing-controllers issues
Sort by recently updated
recently updated
newest added

Is it possible to set a different status code other than 302 when using the `@Redirect` decorator? Neither `@HttpCode` nor `response.status(301)` seem to work.

Links form the backbone of hypertext documents and nothing is more annoying than dead links, especially those trying to point to other parts of a web application. That's why I...

type: feature
type: discussion
status: awaiting answer

Global middlewares by default should be useBefore, and action specific useBefore and useAfter middlewares should be replaced with Filters. It's more intuitive. Please refer to following: https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/filters

type: feature
type: discussion
status: awaiting answer

> This issue aims to continue the discussion about tooling in #162. Currently there are no really good way to know what style and schemes should be followed when contributing...

type: discussion
status: awaiting answer

how to prevent print HttpError in console with express server? koa server not exists this problem. koa server still return 404 when with a "@Authorized()"

type: question
status: awaiting answer

```typescript import {Middleware, ExpressErrorMiddlewareInterface} from "routing-controllers"; @Middleware({ type: "after" }) export class CustomErrorHandler implements ExpressErrorMiddlewareInterface { error(error: any, request: any, response: any, next: (err: any) => any) { console.log("do something...");...

type: question
type: documentation
status: awaiting answer

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.2.0. Release notes Sourced from eslint's releases. v9.2.0 Features 8485d76 feat: no-case-declarations add suggestions (#18388) (Josh Goldberg ✨) a498f35 feat: update Unicode letter detection in...

dependencies

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.9.0 to 28.5.0. Release notes Sourced from eslint-plugin-jest's releases. v28.5.0 28.5.0 (2024-05-03) Features allow @typescript-eslint/utils v7 as a direct dependency (#1567) (1476f10) v28.4.0 28.4.0 (2024-05-03) Features valid-expect:...

dependencies

### Description I'm trying to print the request.body in my console from the middleware but its undefined I've googled everywhere and tested allot of things, yet i cant seem to...

type: fix
status: needs triage

**I was trying to:** I'm currently adding routing-controllers to an existing application and am in the progress of a progressive migration of endpoints. **The problem:** Recently I've noticed that one...

type: question