I’m working on micro service design and want to create a common logging and tracing middleware for prisma service call.
I want to create nestjs library to share the logging and tracing middleware, but library doesn’t have the PrismaClient instance.
Does anyone used Prisma to create library to dynamically inject configuration to create prismaservice instance and log query request and response data.