NestJS · Middle · Question 54 of 75
What problem can a 'shared module' that exports everything cause?
- 1Shared modules can't export providers
- 2It makes the app crash at startup
- ✓Correct answer: Hidden coupling: every feature depends on everything, making boundaries unclear and changes risky
Explanation
Prefer small focused modules that export only what others need.