💡 If you ever struggled with overbloated context objects or endlessly passing parameters down the stack - there’s a cleaner way. Manually threading tenant slugs, request IDs, or transaction objects through controllers, services, and repositories can make your Node.js or Nest.js app harder to maintain than it needs to be. That’s where AsyncLocalStorage comes in. It allows you to transparently store and access context data across the entire async flow - without bloated function signatures. And with nestjs-cls, this pattern integrates seamlessly into Nest.js applications. In this article, we cover: 🔹 The pitfalls of manual context passing 🔹 How AsyncLocalStorage works (with code examples) 🔹 Practical use cases: multi-tenancy, logging, transactions 🔹 Why nestjs-cls makes context management even easier in Nest.js 👉 Read the full article here: https://lnkd.in/du_Jh9T2 ⚠️ As always, use with care - AsyncLocalStorage can simplify context passing but shouldn’t replace clear design boundaries.
Coldrun
Information Technology & Services
Warsaw, Mazowieckie 119 followers
We engineer digital products with Node.js, .NET, Vue, Angular & React - helping companies build and modernize software.
About us
Coldrun is a software engineering company that pairs technical expertise with in-depth domain knowledge. We specialize in NestJS, .NET, Vue.js, Angular, and React, crafting scalable systems with exceptional user experiences. From CRM and ERP-class solutions to modern logistics platforms, we’ve helped companies go to market faster, automate critical processes, and modernize legacy apps. Whether you’re a startup building from scratch or an established business ready to scale, we build agile engineering teams that help you make the next move with your digital product. We don’t just code. We engineer.
- Website
-
https://coldrun.com
External link for Coldrun
- Industry
- Information Technology & Services
- Company size
- 11-50 employees
- Headquarters
- Warsaw, Mazowieckie
- Type
- Privately Held
- Founded
- 2015
Locations
-
Primary
Get directions
Wincentego Rzymowskiego 53
Warsaw, Mazowieckie 02-697, PL