nestjs-cls icon indicating copy to clipboard operation
nestjs-cls copied to clipboard

Consider durable CLS-based providers

Open Papooch opened this issue 2 years ago • 1 comments

It might be possible to emulate the behavior of Durable Providers with CLS as well, where we could retrieve the same context instance in multiple subsequent requests.

A proper solution should also include a configurable cache timeout for the "durable" instances.

Papooch avatar Jul 10 '23 10:07 Papooch

Maybe it could be implemented as a plugin? #80

Papooch avatar Aug 11 '23 10:08 Papooch