which is working properly with SoapModule.registerAsync, but giving the following error with forRootAsync:
Nest can't resolve dependencies of the SoapConfigOptionsOMNIFIN_CLIENT (?). Please make sure that the argument ConfigService at index [0] is available in the SoapModule context.
Potential solutions:
- If ConfigService is a provider, is it part of the current SoapModule?
- If ConfigService is exported from a separate @Module, is that module imported within SoapModule?
@Module({
imports: [ /* the Module containing ConfigService */ ]
})
I've created the following module:
which is working properly with SoapModule.registerAsync, but giving the following error with forRootAsync:
Environment