Skip to content

Commit

Permalink
Rename validators to matchers in "sorting" section (#4387)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimfeld committed Mar 18, 2022
1 parent 30ca8b3 commit 6b114d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/01-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ SvelteKit needs to know which route is being requested. To do so, it sorts them

- More specific routes are higher priority
- Standalone endpoints have higher priority than pages with the same specificity
- Parameters with [validators](#validation) (`[name=type]`) are higher priority than those without (`[name]`)
- Parameters with [matchers](#advanced-routing-matching) (`[name=type]`) are higher priority than those without (`[name]`)
- Rest parameters have lowest priority
- Ties are resolved alphabetically

Expand Down

0 comments on commit 6b114d7

Please sign in to comment.