Kainar Massujima
Kainar Massujima
@jaequery @yigitahmetsahin @Uki884 @Rykuno @callumthomson Here is a workaround with `prisma.$extends`. What do you think? Creating request context ```typescript import { RequestContext } from 'nestjs-request-context'; export type PrismaTransactionClient = Omit;...
@uki1014 hey, I have implemented similar above and we both have issue with background jobs. This solution only works in context of a request. I have implemented it to work...
Happy new year all! @yigitahmetsahin sorry for taking long. Here is the snippet I use. I created context manager with `async_hooks` ```typescript import { AsyncLocalStorage } from 'async_hooks'; import {...
@yigitahmetsahin from the [nestjs docs](https://docs.nestjs.com/recipes/async-local-storage) > It is similar to a thread-local storage in other languages. It is not necessarily bound to request