Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to have multiple @Route decorators per handler #144

Open
etsuo opened this issue Mar 11, 2018 · 0 comments
Open

Add ability to have multiple @Route decorators per handler #144

etsuo opened this issue Mar 11, 2018 · 0 comments
Milestone

Comments

@etsuo
Copy link
Member

etsuo commented Mar 11, 2018

e.g.:

@Routable()
export class SomeApi {
  @Route({ method: 'put', path: '/' }
  @Route({ method: 'post', path: '/' }
   someHandler(req, res, next) {}
}
@etsuo etsuo added this to the 0.12.0 milestone Mar 11, 2018
@etsuo etsuo modified the milestones: 0.12.0, 0.13.0 Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant