mirror of
https://github.com/mbierlee/poodinis.git
synced 2024-11-15 04:04:01 +01:00
Add section on injection within value injectors
This commit is contained in:
parent
3128553d15
commit
e7e114d09f
|
@ -159,6 +159,8 @@ You can only register one value injector per type, a resolve exception will be t
|
||||||
|
|
||||||
Besides injecting primitive types, it is also possible to inject structs. While it is possible to inject class instances this way, this mechanism isn't really meant for that.
|
Besides injecting primitive types, it is also possible to inject structs. While it is possible to inject class instances this way, this mechanism isn't really meant for that.
|
||||||
|
|
||||||
|
Value injectors will also be autowired before being used. However, value injectors will not be value-injected to prevent circular dependencies. Dependencies within value injectors will also not be value-injected.
|
||||||
|
|
||||||
Poodinis doesn't come with any value injector implementations. In the [README.md](README.md) you will find a list of projects which use different libraries as value sources.
|
Poodinis doesn't come with any value injector implementations. In the [README.md](README.md) you will find a list of projects which use different libraries as value sources.
|
||||||
|
|
||||||
Circular dependencies
|
Circular dependencies
|
||||||
|
|
Loading…
Reference in a new issue