Editorial question111.4K views4,245 votes1 answer1 comment3,653 following
AI-generatedTransitive request-scoping across NestJS provider graph
NestJS @Injectable({ scope: Scope.REQUEST }) marks a provider for per-request instantiation, but the framework does not isolate this scope to the annotated provider alone. Every dependent provider or controller that injects it inherits request scope, propagating transitively up the dependency chain. This behavior is documented but often unexpected, particula