You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The catchAll route "(*path)": "catchAll" used in the ampersand demo webapp must be the last route in the hash. Otherwise every route defined after is impossible to reach.
The Problem is that the object key sorting is not static. I have handled the routes as JSON before using it to extend the router and they got sorted alphabetically. In result the catchAll-Route enters the first place.
@llabball that's correct that order matters here and if you'll resort your routes, they simply won't work. Please let me know if you'd like to discuss this issue in depth, so I'll reopen this ticket then.
The catchAll route
"(*path)": "catchAll"
used in the ampersand demo webapp must be the last route in the hash. Otherwise every route defined after is impossible to reach.The Problem is that the object key sorting is not static. I have handled the routes as JSON before using it to extend the router and they got sorted alphabetically. In result the catchAll-Route enters the first place.
Should we switch to an array of routes or oversee i something that solves the problem an other way?
The text was updated successfully, but these errors were encountered: