Papooch / nestjs-cls

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

feat: add @nestjs-cls/transactional-adapter-pg-promise #110

Closed sam-artuso closed 5 months ago

sam-artuso commented 5 months ago

@nestjs-cls/transactional adapter for pg-promise.

Two caveats:

Apart from these 2 points, my adapter is the same as the those for Knex and Prisma.

sam-artuso commented 5 months ago

@Papooch your feedback is very welcome!

Papooch commented 5 months ago

@sam-artuso Sorry, I accidentally clicked the update branch button instead of allow tests which rebased your changes. You might need to force-push again to clean this up.

Btw, could you also please add documentation to docs/docs/06_plugins/01_available-plugins/01_transactional/03-pg-promise-adapter.md?

sam-artuso commented 5 months ago

Thanks!

sam-artuso commented 5 months ago

When do you think you'll release this?

Papooch commented 5 months ago

I'll most likely publish it later today with some other changes I'm working on.

Papooch commented 5 months ago

It has now been published :rocket:

sam-artuso commented 5 months ago

🎉