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.
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. SoComponentUtil.isComponent(type)should be lazy-loaded onApplicationContextconstructor orstart()method.