-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(router): improve log for ambigous routes
When roaster finds two or more matching route definitions it will now tell the developer which priority, specificity and pattern they have. - add new function `router:add-specificity` this allows to sort by it and output it for debugging - refactor function `router:route-specificity` - expects route definition with specificity set - rename to `router:sort-by-specificity-and-priority`
- Loading branch information
Showing
1 changed file
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters