0

I have three modules and I want their providers to be globaly in all nest js application by importing them to global module like this

@Global()
@Module({
imports: [SecurityModule, DataModule, ConfigHelperModule]
})
export class CoreServicesModule {}

does this really works ??

1 Answer 1

2

Add them to both imports and exports and yes, it'll work

0

Not the answer you're looking for? Browse other questions tagged or ask your own question.