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 would like to define a path param to be used in endpoints across a nested route.
let nested_resource_route = Route::new(); Route::new() .nest(":my_param/resource", nested_resource_route)
This panics with "captures are not allowed in the nest path".
Why are path params not allowed in nested routes?
Is there a way to achieve this with .at instead of .nest, what is the difference between these methods?
.at
.nest
Thanks!
The text was updated successfully, but these errors were encountered:
Poem's nested routes currently do not support parameterized paths, but I will improve this later.
Sorry, something went wrong.
No branches or pull requests
I would like to define a path param to be used in endpoints across a nested route.
This panics with "captures are not allowed in the nest path".
Why are path params not allowed in nested routes?
Is there a way to achieve this with
.at
instead of.nest
, what is the difference between these methods?Thanks!
The text was updated successfully, but these errors were encountered: