Skip to content

Commit

Permalink
fixup! fix(core): handle ChainedInjectors in injector debug utils
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKushnir committed Apr 3, 2024
1 parent 403004e commit dc7e7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/render3/util/injector_discovery_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ function getInjectorParent(injector: Injector): Injector|null {
return injector.parentInjector;
} else {
throwError(
'getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector');
'getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector, ChainedInjector');
}

const parentLocation = getParentInjectorLocation(
Expand Down

0 comments on commit dc7e7e7

Please sign in to comment.