[Content]: Catch-all parameter returns entire path not just the invalid part. #837
Labels
help wanted
Looking for assistance on this issue
improve documentation
Enhance existing documentation.
📚 Subject area/topic
SolidStart > Routing
📋 Page(s) affected (or suggested, for new content)
https://docs.solidjs.com/solid-start/building-your-application/routing#catch-all-routes
📋 Description of content that is out-of-date or incorrect
Doc says, "A catch-all route will have one parameter which is a forward-slash delimited string of all the URL segments after the last valid segment."
This is not correct. When a route is invalid the catch-all route's parameter contains the entire URL path, both valid and invalid segments.
It's crunch time for me, but I will follow-up with a PR unless the issue is closed.
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
The text was updated successfully, but these errors were encountered: