Using Async Local Storage with NestJS
4 min readJun 5, 2023
Hello there! Have you been annoyed with passing the current user object as an argument from controllers to services and deep down to other services?
A typical code looks like this:
Hello there! Have you been annoyed with passing the current user object as an argument from controllers to services and deep down to other services?
A typical code looks like this: