Release 0.2.3
What's Changed
Release 0.2.3 of Next Prisma Flow Generator
Features
- π Full-stack type-safe code generation from Prisma schema
- β‘ Server actions, Jotai atoms, React hooks, and API routes
- π End-to-end type safety with Zod validation
- π― Smart relationship handling with circular reference prevention
- π¦ Optimized batch operations with proper schemas
Installation
npm install next-prisma-flow
# or
yarn add next-prisma-flow
# or
pnpm add next-prisma-flowUsage
Add to your schema.prisma:
generator flow {
provider = "next-prisma-flow"
output = "./generated/flow"
models = ["User", "Post", "Category"]
}Then run:
npx prisma generateSee the README for full documentation.