-
-
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(router-store): Make usage of forRoot required (#1662) #1672
Conversation
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.
Update the git commit message to account for the breaking change. Example format is here https://github.com/ngrx/platform/blob/master/CONTRIBUTING.md#footer
I have changed this. |
The breaking change message should show before/after usage, not changes. BEFORE: @NgModule({
imports: [
StoreRouterConnectingModule
]
})
export class AppModule {} AFTER: @NgModule({
imports: [
StoreRouterConnectingModule.forRoot()
]
})
export class AppModule {} |
}, | ||
], | ||
}) | ||
@NgModule() |
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.
It should be an empty object even if there's no metadata.
@NgModule() | |
@NgModule({}) |
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.
Oh. Thanks for your advises. I hope my changes now meet the requirements.
Preview docs changes for 5c7f73a at https://previews.ngrx.io/pr1672-5c7f73a/ |
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 #1662
What is the new behavior?
Does this PR introduce a breaking change?
Other information