framework icon indicating copy to clipboard operation
framework copied to clipboard

Lazy load @Inject type-casting

Open damjangelovski opened this issue 9 years ago • 0 comments

Currently the @Inject() property type is checked if it is @Component in the decorator itself. If @Inject() is run before @Component() of the injected type, the decorator will throw. So ComponentUtil.isComponent(type) should be lazy-loaded on ApplicationContext constructor or start() method.

damjangelovski avatar Aug 18 '16 12:08 damjangelovski