Creating class-based guards returns error for functional guard #28839
Labels
area: @schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
severity2: inconvenient
type: bug/fix
Command
generate
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When using ng generate guard, it allows me to select multiple options for class based guards. However when I select multiple options, it returns the following error.
"Can only specify one value for implements when generating a functional guard."
Minimal Reproduction
Create new project guard-bug and try to generate guard auth.
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: