-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
feat(schematics): remove creators option #3311
Conversation
✅ Deploy Preview for ngrx-io ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
expect(content).toMatch( | ||
/import \{ FooActionTypes, FooActions } from '\.\.\/\.\.\/actions\/foo\/foo\.actions';/ | ||
); | ||
expect(content).toMatchInlineSnapshot(` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toMatchInlineSnapshot
is used here because it was easier to see what was going on (and wrong).
...tics/src/action/files/__name@dasherize@if-flat__/__name@dasherize__.actions.spec.ts.template
Outdated
Show resolved
Hide resolved
6de2ef9
to
efe9a27
Compare
efe9a27
to
d6fbb76
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just needs merge conflict resolved
BREAKING CHANGE: BEFORE: Creating actions, reducers, and effects is possible without using the creators syntax is possible. AFTER: All schematics use the non-creators syntax to scaffold the code. The option `--creators` (and `-c`) is removed from the schematic options.
BREAKING CHANGE: The `skipTests` option is removed while generating actions. Action spec files are not generated.
d6fbb76
to
123a84f
Compare
Thanks for the reminder @brandonroberts , should be good now. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Closes #
What is the new behavior?
Does this PR introduce a breaking change?
Other information