The Request Context Nightmare: Why NestJS Struggles With It, and How Ditsmod Solved It Years Ago
dev.to
If you have built production Node.js applications using NestJS, you have likely encountered this problem: How do you propagate request-scoped metadata (such as Request IDs, Correlation IDs, Tenant IDs, or authenticated User sessions) across your entire application? Recently, a NestJS GitHub issue raised a compelling feature request: introducing a first-class, framework-level Request Context primitive (@nestjs/context). The motivation is clear. Enterprise applications need a reliable way to sh