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

**Description and expected behavior** I am currently using the zenstack Restful API Handler with calling the following endpoint: http://localhost:4001/api/user?include=offices Below are my models (I have removed some fields to not...

**Is your feature request related to a problem? Please describe.** When integrating ZenStack with TanStack DB, having access to the model + foreign keys is very helpful. **Describe the solution...

**Description and expected behavior** Generate Zod with default value Enum uses @prisma/client import instead of local enums file. For instance, if we'll try to `npx zenstack generate` the following `schema.zmodel`:...

**Description and expected behavior** In prisma 6.18.0 the [datasource config has been moved to the prisma.config.ts file](https://www.prisma.io/blog/announcing-prisma-6-18-0#migrating-to-prismaconfigts). This means it's no longer required in the schema. But if I remove...

**Description and expected behavior** I'm using the optimistic update flag in my mutation `useUpdate[model]({ optimisticUpdate: true })`, and when I pass undefined to a field, it is getting stored in...

### Hey there 👋 First of all, thank you for the awesome work you’re doing with ZenStack — it’s been really inspiring to follow, especially your [blog post about connecting...

**Description and expected behavior** It seems that there are some issues filtering `Json` fields with `Prisma.DbNull`, `Prisma.JsonNull` & `Prisma.AnyNull`. While Prisma detects it correctly, neither the hooks nor fetching directly...

> **Is your feature request related to a problem? Please describe.** > A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] I don't...

**Is your feature request related to a problem? Please describe.** We use `@deny()` and `@@openapi.ignore()` extensively to control in the OpenAPI output and would like the LLM Docs to follow...

**Is your feature request related to a problem? Please describe.** Right now optional properties are marked as `?` in the generated docs. IMHO this is not sufficiently clear. **Describe the...