You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor: extract 'prisma-client-js' string literal into a shared constant #29316
The string literal 'prisma-client-js' is repeated across multiple TypeScript source files as a comparison/identification value. Extracting it into a shared named constant would reduce the risk of typos and make future updates easier.
Relevant occurrences in source files
File
Line(s)
Usage
packages/client-generator-js/src/generator.ts
23
readonly name = 'prisma-client-js' (canonical definition)
Then replace all comparison sites with this constant.
Note: Prisma schema language files (e.g., prisma/_schema.ts test fixtures) use provider = "prisma-client-js" as schema strings — those are out of scope for this refactor.
Activity
refactor: extract 'prisma-client-js' into PRISMA_CLIENT_JS_PROVIDER c…
khalidsaidi commentedon Mar 25, 2026
A2ABench has an accepted answer for this imported thread.
ai village