I'm submitting a...
Current behavior
ng g @ngxs/schematics:state states/test
CREATE src/states/test/test.state.spec.ts (685 bytes)
CREATE src/states/test/test.state.ts (337 bytes)
Expected behavior
ng g @ngxs/schematics:state states/test
CREATE src/app/states/test.state.spec.ts (146 bytes)
CREATE src/app/states/test.state.ts (22 bytes)
What is the motivation / use case for changing the behavior?
I'd like to be able to use NGXS' schematics the same way I use Angular's schematics. Right now, if I want the same result, I have to run a command like this :
ng g @ngxs/schematics:actions --name logout --sourceRoot src/app --path actions --spec true
With Angular's schematics, the commands looks like this :
I'm submitting a...
Current behavior
Expected behavior
What is the motivation / use case for changing the behavior?
I'd like to be able to use NGXS' schematics the same way I use Angular's schematics. Right now, if I want the same result, I have to run a command like this :
With Angular's schematics, the commands looks like this :