fix(upgrade): improve downgrading-related error messages (#26217)
Make the error messages thrown when instantiating downgraded components, injectables and modules more descriptive and actionable, also taking into account incorrect use of the `downgradedModule` field. PR Close #26217
This commit is contained in:

committed by
Kara Erickson

parent
93837e9545
commit
7dbc103cbe
@ -23,10 +23,12 @@ export const $TEMPLATE_REQUEST = '$templateRequest';
|
||||
export const $$TESTABILITY = '$$testability';
|
||||
|
||||
export const COMPILER_KEY = '$$angularCompiler';
|
||||
export const DOWNGRADED_MODULE_COUNT_KEY = '$$angularDowngradedModuleCount';
|
||||
export const GROUP_PROJECTABLE_NODES_KEY = '$$angularGroupProjectableNodes';
|
||||
export const INJECTOR_KEY = '$$angularInjector';
|
||||
export const LAZY_MODULE_REF = '$$angularLazyModuleRef';
|
||||
export const NG_ZONE_KEY = '$$angularNgZone';
|
||||
export const UPGRADE_APP_TYPE_KEY = '$$angularUpgradeAppType';
|
||||
|
||||
export const REQUIRE_INJECTOR = '?^^' + INJECTOR_KEY;
|
||||
export const REQUIRE_NG_MODEL = '?ngModel';
|
||||
|
Reference in New Issue
Block a user