Allowing empty routes #1809
Unanswered
Bluenix2
asked this question in
Potential Issue
Replies: 1 comment
-
I've run into this as well! I'm trying to think what the cons would be to removing this check. I think we'd need to modify |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I have an API structured and use
Mount('/resource/{resource_id'})
however this causes issues, because now it is impossible for me to define a route for/resource/{resource_id}
. I am forced to use/resource/{resource_id}/
.Code examples
My code currently looks like this:
...however I would like to be able to define a route with no path like this:
Beta Was this translation helpful? Give feedback.
All reactions