-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Currently @Inject works lazily always. It means that object isn’t injected in fact until first call.
It can lead to unexpected behavior. For example you have some broadcasting object which performs logic in init() method and inject it on a root level. Then you try to observe some changes but this object still isn’t created.
The proposal is to add an option to propertyWrapper or registration methods to make this behavior configurable.
SpectralDragon
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed