-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to generate a guard for CanDeactivate, CanActivateChild, CanLoad #13400
Comments
There is a PR for this #13109 |
Just as a note, Another more simple approach would be to scaffold the guard with Or I guess it could be generated with Anyway I'd be happy to implement the solution if anyone has thoughts on it? @alan-agius4 @clydin |
Adds support for the guard schematic to use multiselect for which interfaces the guard should implement. Fixes angular#13400
Adds support for the guard schematic to use multiselect for which interfaces the guard should implement. Fixes angular#13400
Adds support for the guard schematic to use multiselect for which interfaces the guard should implement. Fixes angular#13400
Adds support for the guard schematic to use multiselect for which interfaces the guard should implement. Fixes #13400
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Desired functionality
Actually (7.2.0), when a guard is generated, it implements
CanActivate
.I would like to see an option to generate a guard with
CanDeactivate
,CanActivateChild
orCanLoad
.The text was updated successfully, but these errors were encountered: