You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.
Currently if a schematic property is in schema.json's "required" list, nothing different happens if the option is not provided on the command line and doesn't have a "default". It should report a user error in this case.
The text was updated successfully, but these errors were encountered:
I was just about to report this. It works fine for me if the schematic is run with the "schematics" tool. However, if the schematic is run from "ng" it ignores required properties.
schematics @Mystuff:myschematic <-- throws error if required prop not specified
ng g myschematic --collection @Mystuff <-- ignores required props
Currently if a schematic property is in schema.json's "required" list, nothing different happens if the option is not provided on the command line and doesn't have a "default". It should report a user error in this case.
The text was updated successfully, but these errors were encountered: