-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
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
Routing catches paths in incorrect order #526
Comments
I think the following formula should be changed somehow to order dynamic routes after other routes Line 211 in 9a103a1
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dynamic routes should not be caught before any other routes.
Example 1
I have the following structure:
The route
$pageId+
catches all paths. The user cannot get/posts
or/posts/$id
, these paths are caught by the first route.Example 2
I have the following structure (notice
$pageId
without+
):The user cannot get
/posts
, that path is caught by the$pageId
route (only/posts/index
is working for that page).The text was updated successfully, but these errors were encountered: