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

Throw on route collision (?) #4

Open
mindplay-dk opened this issue Mar 2, 2017 · 0 comments
Open

Throw on route collision (?) #4

mindplay-dk opened this issue Mar 2, 2017 · 0 comments
Milestone

Comments

@mindplay-dk
Copy link
Owner

The Route::get(), Route::post() etc. methods currently allow you to overwrite an existing route.

Should we throw on attempted overwrite of existing routes? It's likely an error.

This change would be a minor BC break.

@mindplay-dk mindplay-dk added this to the 3.0 milestone Mar 2, 2017
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