Skip to content

[Feat] Enable route guards #49

Closed
Closed
@meeroslav

Description

@meeroslav

Route unregister should be called upon route destroy. Unregistering route will remove it from the routes$ and trigger navigation. This is precondition to having route guards using structural directives.

The intended behaviour is different to @angular/router canActivate:

Guard true false
@angular/router navigate to route stop navigation
angular-routing navigate to route navigate to fallback route

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions