Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shift approach to use middleware names instead of scope paths.
Convert the implementation to attach middleware names to routes. This allows scopes to be isolated and the builder to function as a stateful builder and not a proxy for state in the route collection. This also allows scopes to be isolated and still inherit middleware from their containing scope.
- Loading branch information
Showing
4 changed files
with
98 additions
and
171 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
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