-
Notifications
You must be signed in to change notification settings - Fork 2
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
Routes with different variables on the same level do not work #53
Comments
Hi @ahx! Thank you for reporting this issue. I really appreciate your feedback and the PR you submitted to illustrate the problem. I'll take a look and try to fix the trie behavior. Any suggestions? 😄 |
Hi. I did not find a way to solve this so far. It’s not an easily solved problem. Others have struggled with this before and failed. |
Hey @aristotelesbr. Thanks for looking into that. The test is green, so I think you solved the issue. Nice work! |
Something not related to this issue: The reason I am interested in all this is, because I am looking for a small, fast routing library to use in openapi_first. I wish we would have a de-facto default library/gem to use in Ruby where people can build their own micro/midi/macro framework on top off. Lennarb's route_node.rb looks like a good candidate for that. (toot) |
Hi,
I noticed that when adding routes with dynamic and static fields on the same level the trie get's confused:
I have added a PR to illustrate this.
This is the same problem hanami-router has.
Thanks for publishing this gem. I think it's super nice.
The text was updated successfully, but these errors were encountered: