-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First pass at splitting up the Router internals.
ScopedRouteCollection has a few too many jobs. It handles both the building of routes and part of the route parsing/matching. Having the parsing/matching spread between two classes is a bit gross and indicates there is a missing class. Separating the building + parsing/route storage makes a nice break that allows each class to handle one group of tasks. This division also cleans up Router which is nice.
- Loading branch information
Showing
7 changed files
with
508 additions
and
482 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
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
Oops, something went wrong.