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

Ability to exit entire router #20

Closed
blakeembrey opened this issue Jul 8, 2015 · 1 comment
Closed

Ability to exit entire router #20

blakeembrey opened this issue Jul 8, 2015 · 1 comment
Assignees

Comments

@blakeembrey
Copy link
Member

From expressjs/express#2241, add the ability to skip the rest of the router. I could have sworn I commented on the issue, but I can't find it anyway.

Use case: Automatically setting up validation middleware (from RAML). I don't want two conflicting routes to run, so exiting on the first handled would be preferable to potentially buggy and confusing behaviour.

@dougwilson dougwilson self-assigned this Jul 9, 2015
@dougwilson
Copy link
Contributor

Also additional discussion in expressjs/express#2371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants