Papooch / nestjs-cls

A continuation-local storage (async context) module compatible with NestJS's dependency injection.
https://papooch.github.io/nestjs-cls/
MIT License
455 stars 29 forks source link

feat(transactional): enable adapters to opt out of transactional proxy support #160

Closed Papooch closed 5 months ago

Papooch commented 5 months ago

This is needed specifically for a future mongodb and mongoose support, because the lack of an active transaction is denoted by passing null or undefined as the session value.

But proxying those values (or any primitive values for that matter) is not supported by JavaScript.