A Prisma generator (v5.10.0, maintained) that produces Effect Schema types from Prisma schema, designed for use with the Kysely query builder. Bridges Prisma's modeling with Effect-TS's type-safe schema validation, enabling compile-time type safety across database queries and effects. Updates roughly monthly; alternative to manual type generation or Zod-based approaches. Requires Node >=20, Bun >=1.0, Effect ^3.19.14, Kysely ^0.28.9.
npm install prisma-effect-kyselyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows setup: add generator to Prisma schema, run generate, then use generated Effect Schema types.
Upgrade Node to >=20 or Bun to >=1.0.
Run `npm install effect@^3.19.14 kysely@^0.28.9`.
Set `output = "../src/generated"` in the generator block to control location.
Enable `"strict": true` in tsconfig.json.
Use import syntax and ensure your project is ESM ("type": "module" in package.json).Run `npm install effect@^3.19.14`.
Ensure `provider = "prisma-effect-kysely"` is correct and the package is installed.