zenstack icon indicating copy to clipboard operation
zenstack copied to clipboard

Typescript toolkit on top of Prisma ORM, offering flexible and declarative Access Control Policy(Authorization/Permission) for RBAC/ABAC/PBAC/ReBAC with auto-generated type-safe APIs and frontend hook...

Results 261 zenstack issues
Sort by recently updated
recently updated
newest added

Right now relation fields are generated as `z.record(z.unknown())`

**Description and expected behavior** Schemas are available on local, but not on Vercel. Vercel build passes and schemas are created, but not available via browser. The error messages: `TypeError: Cannot...

It would be great if ZenStack could support TypedSQL. As we probably all know, it’s not a trivial task, but let’s see how many thumbs-ups we can gather. https://www.prisma.io/typedsql

I'm upgrading from v2.19.2 to v2.21.0 with the zod plugin and I get this issue: ✔ Generating Zod schemas Error compiling generated code: node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected][email protected][email protected]/node_modules/.zenstack/zod/models/Client.schema.ts:45:187 - error TS2552: Cannot find name...

need-repro

# Change - add getCurrentNodeAndReachableDataModelsAndTypeDefs When performing auth() expression validation, the current approach is to retrieve the relevant decl data from all documents. However, this is prone to errors in...

**Description and expected behavior** When I add a strongly typed JSON column to my schema, and then run `zenstack generate` with the `tRPC` plugin enabled, it generates, but the generated...

**Description and expected behavior** Auth user type (`@@auth`) is being stripped away by Prisma 6.18.0, probably because it isn't actively used in a model. If you define the auth user...