medibloc / nestjs-request-context

NestJS Request Context using AsyncLocalStorage
MIT License
45 stars 4 forks source link

Implementation #1

Closed youngjoon-lee closed 3 years ago

youngjoon-lee commented 3 years ago

A NestJS module that stores any type of data in the request-scope and makes it accessible from any layer, such as singleton service layers or even repository layers.

AsyncLocalStorage is used internally.

For more details and usage, please see README.md

Now, this package is named as @medibloc/nestjs-request-context. It would be great if this can be published as @nestjs/request-context in the future.