DependencyInjector icon indicating copy to clipboard operation
DependencyInjector copied to clipboard

Revise implementation of "create if has dependencies" feature

Open ljacqu opened this issue 8 years ago • 0 comments

Follow-up of #31 (new issue for accurate milestones), implementation of "createIfHasDependencies" should be revised. Currently it's not so nice that it needs to be a special case within the InjectorImpl code itself. As improvement I could imagine moving the singleton store as its own handler and/or providing some sort of abort feature on the context object to stop an instantiation without any exception.

ljacqu avatar Jan 23 '17 21:01 ljacqu