Skip to content

feat(router): Cascading route support (4.2.x) - #18162

Closed
matthewerwin wants to merge 1 commit into
angular:4.2.xfrom
snaptech:route-guard-flow-4.2.x
Closed

matthewerwin wants to merge 1 commit into
angular:4.2.xfrom
snaptech:route-guard-flow-4.2.x

Conversation

@matthewerwin

Copy link
Copy Markdown

See #16416

This is rebased for merging into 4.2.x

@jasonaden FYI includes your code review request for changes on the original 4.0.x pull request.

Added cascading routes capability to the router, added new test cases.
Previous behavior resulted in dead routes (e.g. direct navigation to a
route with canActivate=>false resulted in blank page). Additionally this
feature improvement provides conditional routing based on params and other
information that could be used to dynamically enable/disable a route while
ensuring the user always falls through to a valid route.

This PR passes all latest tests and should be backwards compatible.
@matthewerwin matthewerwin changed the title feat(router): Cascading route support when guards=>false feat(router): Cascading route support (4.2.x) Jul 17, 2017
@jasonaden

Copy link
Copy Markdown
Contributor

See #16416 for this feature.

@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants