Bug: Routing based on path parameter data type is not using first matching route handler #3622
Open
1 of 4 tasks
Labels
Bug 🐛
This is something that is not working as expected
Description
Was told Litestar is intended to route differently based on the type of the path parameter:
However, when providing route handlers in the order of
int path param handler
followed bystr path param handler
, thestr path param handler
is the only one that is called in the example code below.URL to code causing the issue
No response
MCVE
Steps to reproduce
Screenshots
No response
Logs
No response
Litestar Version
2.9.1
Platform
Note
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard
The text was updated successfully, but these errors were encountered: