|
|
|
|
@ -182,10 +182,10 @@ The keys of the `providers` map are provider configuration names as expected by
|
|
|
|
|
the child module, and the values are the names of corresponding configurations
|
|
|
|
|
in the _current_ module.
|
|
|
|
|
|
|
|
|
|
Once the `providers` argument is used in a `module` block, it overrides all of
|
|
|
|
|
the default inheritance behavior, so it is necessary to enumerate mappings
|
|
|
|
|
for _all_ of the required providers. This is to avoid confusion and surprises
|
|
|
|
|
that may result when mixing both implicit and explicit provider passing.
|
|
|
|
|
If the unaliased `provider` name is not present in the providers map,
|
|
|
|
|
it will still be inherited in the same way as implicit provider inheritance.
|
|
|
|
|
`providers` argument used in `module` block will not override the default
|
|
|
|
|
inheritance behavior.
|
|
|
|
|
|
|
|
|
|
Additional provider configurations (those with the `alias` argument set) are
|
|
|
|
|
_never_ inherited automatically by child modules, and so must always be passed
|
|
|
|
|
|