We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've looked over the tests here: https://github.com/delvedor/find-my-way/blob/master/test/issue-17.test.js and I they all seem to check that parameters are successfully parsed when separated for a hyphen.
Is there a solution for a route like this? /features/:table/:id.:format I get the following for the parameters:
/features/:table/:id.:format
{ "table": "table", "id.:format": "1.geojson" }
The text was updated successfully, but these errors were encountered:
Ouch! I don't think this is supported, would you like to send a PR?
Sorry, something went wrong.
I'll see what I can do, but I can't make any promises.
I did find a work around. In my case the id will always be a number so the following works: /features/:table/:id(\\d+).:format
/features/:table/:id(\\d+).:format
{ "table": "table", "id": 1, "format": "geojson" }
Thanks for the quick reply.
Successfully merging a pull request may close this issue.
I've looked over the tests here: https://github.com/delvedor/find-my-way/blob/master/test/issue-17.test.js and I they all seem to check that parameters are successfully parsed when separated for a hyphen.
Is there a solution for a route like this?
/features/:table/:id.:format
I get the following for the parameters:The text was updated successfully, but these errors were encountered: