docs: clarify behavior of dependency injection at root injector (#28753)

PR Close #28753
This commit is contained in:
Nikita Potapenko 2019-02-15 12:04:05 +02:00 committed by Igor Minar
parent 90b304612e
commit 9e82cebe5b
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ through the injector tree until it reaches the root injector.
* The first injector configured with a provider supplies the dependency (a service instance or value) to the constructor. * The first injector configured with a provider supplies the dependency (a service instance or value) to the constructor.
* If no provider is found in the root injector, the DI framework returns null to the constructor. * If no provider is found in the root injector, the DI framework throws an error.
There are a number of options for modifying the default search behavior, using _parameter decorators_ There are a number of options for modifying the default search behavior, using _parameter decorators_
on the service-valued parameters of a class constructor. on the service-valued parameters of a class constructor.