Problem
Currently, prisma.ts implements a cached singleton pattern for the PrismaClient instance to prevent exhausting database connection pools during hot reloads in development environments. Ensuring clean ES module exports is essential for reliable database client sharing across backend services and API routes.
Proposed Solution
Verify and maintain clean ES module export for the prisma client instance in prisma.ts.
Acceptance Criteria
Please assign this issue to me.
Problem
Currently,
prisma.tsimplements a cached singleton pattern for thePrismaClientinstance to prevent exhausting database connection pools during hot reloads in development environments. Ensuring clean ES module exports is essential for reliable database client sharing across backend services and API routes.Proposed Solution
Verify and maintain clean ES module export for the
prismaclient instance inprisma.ts.Acceptance Criteria
prismainstance fromprisma.ts.NODE_ENVis set to development.Please assign this issue to me.