32c61f434c
There are cases where we should check an element injector but don't go into the associated module injector if a token is not found. In both the view engine and ngIvy this is acheived by passing the `NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR` as the `notFoundValue`. Before this fix the view engine and ngIvy were using different objects to represent `NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR`. This was causing problems as ngUpgrade is using `NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR` const in its `NgAdapterInjector` to prevent searching of module injectors. This commit makes sure that ngIvy is using the same object to represent `NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR` as the view engine. PR Close #28313 |
||
---|---|---|
.. | ||
change_detection_spec.ts | ||
content_projection_spec.ts | ||
downgrade_component_spec.ts | ||
downgrade_module_spec.ts | ||
examples_spec.ts | ||
injection_spec.ts | ||
testability_spec.ts | ||
upgrade_component_spec.ts |