NestJS · Senior · Question 9 of 75

Why can forwardRef hide a design problem even when it fixes the error?

Explanation

Typical fixes: extract shared logic into a third module, invert the dependency with events, or depend on an abstraction.

Further reading

Problem with a question

NestJS · Senior · question 9

Test yourself

Take the NestJS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz