-
Notifications
You must be signed in to change notification settings - Fork 47
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
wildcard segment ':slug' conflicts with existing children in path '/:slug' #20
Comments
Hi @toby3d, I will try to discover the error and i will fix it. Thanks for issue. |
Hi @toby3d, Which values could have the |
Any alphanum combinations and '-', like: 'hello-world', 'answer42', '300-is-not-200' and so on. In general, I expect that any parameter in the root ( |
I'm researching about the issue. |
I'm working for make the router more flexible, but i will take a few more days. |
@savsgio That's ok, take your time. 👍🏻 |
I've been fixed it on branch master. Soon, i will release a new version! Thanks |
Same as buaazp/fasthttprouter#49.
I want use
/
path for render index page and/:slug
for render specific content by it's:slug
. I am aware about the hack throughrouter.NotFound
, but, firstly, this is not most obvious way, and secondly, it requires additional validations for the correct transitions between the necessary pages.Example
The text was updated successfully, but these errors were encountered: