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

httprouter 2.0 status and Routing priority over wildcards #202

Open
solarfly73 opened this issue Jun 27, 2017 · 0 comments · Fixed by gin-gonic/gin#2663
Open

httprouter 2.0 status and Routing priority over wildcards #202

solarfly73 opened this issue Jun 27, 2017 · 0 comments · Fixed by gin-gonic/gin#2663

Comments

@solarfly73
Copy link

Hi Julien,

I read the other issues that point to a 2.0 version where you intend to support routing priority such that more specific routes will take precedence over wildcards. Is this code in progress? Any way I can help out? If not, I have been working on the following:

  1. If a node has two or more children, and one is a wildcard, it receives the worst priority.
  2. Only one wildcard is allowed per node within the group of children.

Can you share your thoughts on the strategy you feel is necessary to implement this and keep the router fast?

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