If I have the following:
@Module({
imports: [CqrsModule],
providers: [Provider1, Provider2],
exports: [CqrsModule, ModuleA],
})
export class ModuleA { }
and then I have:
@Module({
imports: [ModuleA],
providers: [Provider3],
exports: [ModuleB],
})
export class ModuleB { }
Am I correctly assuming that ModuleB will have access to all the providers from ModuleA and CqrsModule? Will I have the same instances or do I have to manually export Provider1 and Provider2?