Question · NestJS course · Module 1: NestJS Basics
Global Configuration
What does setting isGlobal: true in ConfigModule.forRoot() mean?
Answer options
- ConfigService is available in all modules without additional imports
- Environment variables are encrypted
- Configuration is visible only in the main module
- Configuration is overwritten on every restart
Show the answer
Correct answer:
- ConfigService is available in all modules without additional imports