Skip to content
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

schematics: 'path' option is using deprecated behavior #3469

Closed
1 of 2 tasks
fmalcher opened this issue Jun 26, 2022 · 0 comments · Fixed by #3473
Closed
1 of 2 tasks

schematics: 'path' option is using deprecated behavior #3469

fmalcher opened this issue Jun 26, 2022 · 0 comments · Fixed by #3473

Comments

@fmalcher
Copy link
Contributor

Minimal reproduction of the bug/regression with instructions

When using the schematics, this kind of warnings will be printed:

The 'path' option in 'XXX/node_modules/@ngrx/schematics/src/feature/schema.json' is using deprecated behaviour.'workingDirectory' smart default provider should be used instead.
The 'path' option in 'XXX/node_modules/@ngrx/schematics/src/action/schema.json' is using deprecated behaviour.'workingDirectory' smart default provider should be used instead.
The 'path' option in 'XXX/node_modules/@ngrx/schematics/src/reducer/schema.json' is using deprecated behaviour.'workingDirectory' smart default provider should be used instead.
The 'path' option in 'XXX/node_modules/@ngrx/schematics/src/effect/schema.json' is using deprecated behaviour.'workingDirectory' smart default provider should be used instead.
The 'path' option in 'XXX/node_modules/@ngrx/schematics/src/selector/schema.json' is using deprecated behaviour.'workingDirectory' smart default provider should be used instead.
The 'path' option in 'XXX/node_modules/@ngrx/store/schematics/ng-add/schema.json' is using deprecated behaviour.'workingDirectory' smart default provider should be used instead.

This seems to apply for all generate schematics as well as for ng-add of @ngrx/store. Haven't thoroughly checked the others.

Minimal reproduction of the bug/regression with instructions

ng new foo --routing --style=css
cd foo
ng add @ngrx/store
# 💥

ng add @ngrx/schematics
ng g @ngrx/schematics:reducer foo
# 💥

Versions of NgRx, Angular, Node, affected browser(s) and operating system(s)

NgRx: 14.0.0
Angular: 14.0.3

Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants