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

feat(schematics): remove creators option #3311

Merged
merged 2 commits into from
May 27, 2022

Conversation

timdeschryver
Copy link
Member

@timdeschryver timdeschryver commented Feb 8, 2022

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Closes #

What is the new behavior?

Does this PR introduce a breaking change?

[x] Yes
[ ] No

Other information

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.

@netlify
Copy link

netlify bot commented Feb 8, 2022

Deploy Preview for ngrx-io ready!

Name Link
🔨 Latest commit 123a84f
🔍 Latest deploy log https://app.netlify.com/sites/ngrx-io/deploys/62909eb31f4ebc0009c92eee
😎 Deploy Preview https://deploy-preview-3311--ngrx-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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(`
Copy link
Member Author

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).

@timdeschryver timdeschryver force-pushed the remove-non-creator-schematics branch from 6de2ef9 to efe9a27 Compare February 26, 2022 15:19
@timdeschryver timdeschryver force-pushed the remove-non-creator-schematics branch from efe9a27 to d6fbb76 Compare March 8, 2022 18:34
Copy link
Member

@brandonroberts brandonroberts left a 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.
@timdeschryver timdeschryver force-pushed the remove-non-creator-schematics branch from d6fbb76 to 123a84f Compare May 27, 2022 09:49
@timdeschryver
Copy link
Member Author

Thanks for the reminder @brandonroberts , should be good now.

@brandonroberts brandonroberts merged commit e86278a into master May 27, 2022
@brandonroberts brandonroberts deleted the remove-non-creator-schematics branch May 27, 2022 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants