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
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[X] Feature request
[ ] Documentation issue or request
[ ] Support request => https://github.com/ngxs/store/blob/master/CONTRIBUTING.md
[ ] Other... Please describe:
Current behavior
Currently the store, state and actions schematics generate within a folder named after the name provided.
For example, ng generate @ngxs/schematics:store sample --path=app/src/sample/store generates:
It does not allow me to generate these files directly into the app/src/sample/store folder but always creates the subfolder.
Expected behavior
I would like to be able to specify --flat=true to generate the files directly into the target.
For example, ng generate @ngxs/schematics:store sample --path=app/src/sample/store --flat=true would generate:
I'm submitting a...
Current behavior
Currently the
store
,state
andactions
schematics generate within a folder named after the name provided.For example,
ng generate @ngxs/schematics:store sample --path=app/src/sample/store
generates:It does not allow me to generate these files directly into the
app/src/sample/store
folder but always creates the subfolder.Expected behavior
I would like to be able to specify --flat=true to generate the files directly into the target.
For example,
ng generate @ngxs/schematics:store sample --path=app/src/sample/store --flat=true
would generate:What is the motivation / use case for changing the behavior?
Not to force a directory structure on the user and to align with an option available in
@angular/schematics
.The text was updated successfully, but these errors were encountered: