-
Notifications
You must be signed in to change notification settings - Fork 4k
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
chore(module:message,notification): remove old injection tokens #4404
Conversation
Deploy preview for ng-zorro-master ready! Built with commit 395dadc |
Codecov Report
@@ Coverage Diff @@
## master #4404 +/- ##
==========================================
- Coverage 93.23% 93.16% -0.08%
==========================================
Files 519 521 +2
Lines 12822 12830 +8
Branches 2013 2016 +3
==========================================
- Hits 11955 11953 -2
- Misses 452 462 +10
Partials 415 415
Continue to review full report at Codecov.
|
90f8fc4
to
395dadc
Compare
BREAKING CHANGE: - `NZ_MESSAGE_CONFIG` is removed. Please use `NzGlobalConfigService` instead. - `NZ_NOTIFICATION_CONFIG` is removed. Please use `NzGlobalConfigService` instead. - `config` method of `NzMessageService` and `NzNotificationService` is removed. Please use `set` method of `NzGlobalConfigService` instead.
395dadc
to
dd192a8
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.
全局配置#全局配置项的优先级 文档需要修改或移除
…ORRO#4404) * chore(module:message,notification): remove old injection tokens * fix: lint * fix: fix lint * docs: fix global injection doc BREAKING CHANGE: - `NZ_MESSAGE_CONFIG` is removed. Please use `NzGlobalConfigService` instead. - `NZ_NOTIFICATION_CONFIG` is removed. Please use `NzGlobalConfigService` instead. - `config` method of `NzMessageService` and `NzNotificationService` is removed. Please use `set` method of `NzGlobalConfigService` instead.
…ORRO#4404) * chore(module:message,notification): remove old injection tokens * fix: lint * fix: fix lint * docs: fix global injection doc BREAKING CHANGE: - `NZ_MESSAGE_CONFIG` is removed. Please use `NzGlobalConfigService` instead. - `NZ_NOTIFICATION_CONFIG` is removed. Please use `NzGlobalConfigService` instead. - `config` method of `NzMessageService` and `NzNotificationService` is removed. Please use `set` method of `NzGlobalConfigService` instead.
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?
Issue Number: N/A
What is the new behavior?
Injection tokens such as
NZ_MESSAGE_CONFIG
are now removed. Users should useNzConfigService
instead.Does this PR introduce a breaking change?
Other information