NestJS · Dependency Injection · Junior · Best Practice
Why forwardRef exists and when it's a smell?
Short Interview Answer
Breaks circular constructor deps between providers/modules — often indicates tangled design.
Detailed Explanation
Prefer extracting a third module/service or inverting the dependency. forwardRef is a last resort.
Common Mistake
Sprinkling forwardRef instead of fixing module boundaries.