angular-cn/aio/content/guide
George Kalpakas 93837e9545 feat(upgrade): support downgrading multiple modules (#26217)
Currently, calling `downgradeModule()` more than once is not supported.
If one wants to downgrade multiple Angular modules, they can create a
"super-module" that imports all the rest and downgrade that.

This commit adds support for downgrading multiple Angular modules. If
multiple modules are downgraded, then one must explicitly specify the
downgraded module that each downgraded component or injectable belongs
to, when calling `downgradeComponent()` and `downgradeInjectable()`
respectively.

No modification is needed (i.e. there is no need to specify a module for
downgraded components and injectables), if an app is not using
`downgradeModule()` or if there is only one downgraded Angular module.

Fixes #26062

PR Close #26217
2018-11-05 16:33:55 -08:00
..
ajs-quick-reference.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
animations.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
aot-compiler.md docs: change links to cli wiki to link to new aio docs (#26489) 2018-10-17 11:06:34 -07:00
architecture-components.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
architecture-modules.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
architecture-next-steps.md docs: fix links to setup and cli docs (#26463) 2018-10-16 14:14:19 -07:00
architecture-services.md docs: change links to cli wiki to link to new aio docs (#26489) 2018-10-17 11:06:34 -07:00
architecture.md docs: fix typo in Architecture overview page (#25438) 2018-08-13 21:38:22 -07:00
attribute-directives.md docs: change links to cli wiki to link to new aio docs (#26489) 2018-10-17 11:06:34 -07:00
bootstrapping.md docs: change links to cli wiki to link to new aio docs (#26489) 2018-10-17 11:06:34 -07:00
browser-support.md docs: change links to cli wiki to link to new aio docs (#26489) 2018-10-17 11:06:34 -07:00
build.md docs: fix links to browserlist (#26531) 2018-10-18 12:00:38 -07:00
change-log.md docs: testing guide for CLI (#20697) 2018-02-26 13:40:23 -08:00
cheatsheet.md docs(aio): add short description for entryComponents (#21360) 2018-07-31 13:18:36 -07:00
comparing-observables.md docs: fix spelling errors (#26213) 2018-10-05 14:18:19 -07:00
complex-animation-sequences.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
component-interaction.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
component-styles.md docs: change links to cli wiki to link to new aio docs (#26489) 2018-10-17 11:06:34 -07:00
dependency-injection-in-action.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
dependency-injection-navtree.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
dependency-injection-providers.md docs: replace `alert-is-helpful` with `alert is-helpful` (#26497) 2018-10-17 11:24:19 -07:00
dependency-injection.md docs: replace `alert-is-helpful` with `alert is-helpful` (#26497) 2018-10-17 11:24:19 -07:00
deployment.md docs: fixup deployment guide (#26486) 2018-10-30 16:29:04 -04:00
displaying-data.md docs: removing errant double-quote (#26483) 2018-10-18 11:57:27 -07:00
docs-style-guide.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
dynamic-component-loader.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
dynamic-form.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
elements.md docs: Webcomponents activated as of firefox 63 (#26889) 2018-11-01 14:30:21 -07:00
entry-components.md docs: update bootstrapping and entry component guide to use httpclient (#25178) 2018-07-30 16:00:19 -07:00
feature-modules.md docs: describe your change... (#26784) 2018-10-30 13:49:12 -04:00
file-structure.md docs: edit file structure page (#26552) 2018-11-02 11:25:12 -07:00
form-validation.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
forms-overview.md docs: forms overview copy edit (#26450) 2018-10-19 11:08:47 -07:00
forms.md docs: change links to cli wiki to link to new aio docs (#26489) 2018-10-17 11:06:34 -07:00
frequent-ngmodules.md docs: change links to cli wiki to link to new aio docs (#26489) 2018-10-17 11:06:34 -07:00
glossary.md docs: change links to cli wiki to link to new aio docs (#26489) 2018-10-17 11:06:34 -07:00
hierarchical-dependency-injection.md docs: replace `alert-is-helpful` with `alert is-helpful` (#26497) 2018-10-17 11:24:19 -07:00
http.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
i18n.md docs: configuration file reference (#26484) 2018-10-30 13:44:52 -04:00
language-service.md docs: update version to 6 in language-service (#20795) 2018-05-11 12:22:51 -04:00
lazy-loading-ngmodules.md fix(aio): add relative to app level routes section (#26504) 2018-10-17 13:11:42 -07:00
lifecycle-hooks.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
module-types.md docs: several minor `NgModule` guide fixes/improvements (#21589) 2018-01-18 18:22:20 -06:00
ngmodule-api.md docs: add api doc to commonly queried elements 2018-07-20 12:39:10 -07:00
ngmodule-faq.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
ngmodule-vs-jsmodule.md docs: change links to cli wiki to link to new aio docs files m to z (#26492) 2018-10-17 11:06:07 -07:00
ngmodules.md docs: change links to cli wiki to link to new aio docs files m to z (#26492) 2018-10-17 11:06:07 -07:00
npm-packages.md docs: fix typo (#26773) 2018-10-30 16:23:49 -04:00
observables-in-angular.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
observables.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
pipes.md docs: change links to cli wiki to link to new aio docs files m to z (#26492) 2018-10-17 11:06:07 -07:00
practical-observable-usage.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
providers.md docs: change links to cli wiki to link to new aio docs files m to z (#26492) 2018-10-17 11:06:07 -07:00
quickstart.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
reactive-forms.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
releases.md docs: update release info now that v7 is released (#26660) 2018-10-23 08:51:48 -07:00
reusable-animations.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
route-animations.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
router.md feat(router): guard returning UrlTree cancels current navigation and redirects (#26521) 2018-10-31 19:51:50 -04:00
rx-library.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
security.md docs(core): update security guide sanitize example (#26777) 2018-10-26 12:31:49 -04:00
service-worker-communications.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
service-worker-config.md docs(service-worker): Specify format of datagroups.cacheConfig.timeout (#26469) 2018-10-23 08:58:17 -07:00
service-worker-devops.md docs: change links to cli wiki to link to new aio docs files m to z (#26492) 2018-10-17 11:06:07 -07:00
service-worker-getting-started.md docs: change links to cli wiki to link to new aio docs files m to z (#26492) 2018-10-17 11:06:07 -07:00
service-worker-intro.md docs(service-worker): updated browser support for Service Worker (#26408) 2018-10-19 11:08:00 -07:00
set-document-title.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
setup.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
sharing-ngmodules.md docs: several minor `NgModule` guide fixes/improvements (#21589) 2018-01-18 18:22:20 -06:00
singleton-services.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
structural-directives.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
styleguide.md docs: change links to cli wiki to link to new aio docs files m to z (#26492) 2018-10-17 11:06:07 -07:00
template-syntax.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
testing.md docs: update http to https where possible (#26509) 2018-10-18 11:57:57 -07:00
transition-and-triggers.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
typescript-configuration.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
universal.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
updating.md docs: change links to cli wiki to link to new aio docs files m to z (#26492) 2018-10-17 11:06:07 -07:00
upgrade-performance.md feat(upgrade): support downgrading multiple modules (#26217) 2018-11-05 16:33:55 -08:00
upgrade.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
user-input.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
visual-studio-2015.md docs: visual studio removed from nav and updated to refer to getting started instead of quickstart repo (#26376) 2018-10-12 14:08:11 -07:00
workspace-config.md docs: configuration file reference (#26484) 2018-10-30 13:44:52 -04:00