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

Disallow same method & route twice in route! macro #511

Open
Thomasdezeeuw opened this issue Oct 10, 2021 · 0 comments
Open

Disallow same method & route twice in route! macro #511

Thomasdezeeuw opened this issue Oct 10, 2021 · 0 comments
Labels
HTTP Related to the Heph-HTTP crate. priority:low Low priority issue.

Comments

@Thomasdezeeuw
Copy link
Owner

In other words:

route!(
    GET => index,
    GET => other_page,
)

Should be disallowed as other_page is never reached.

@Thomasdezeeuw Thomasdezeeuw added priority:low Low priority issue. HTTP Related to the Heph-HTTP crate. labels Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HTTP Related to the Heph-HTTP crate. priority:low Low priority issue.
Projects
None yet
Development

No branches or pull requests

1 participant