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

At first, I wanna thank u for creating and working on a great library! I got a request about new attributes to manage spaces/memberships better. Also, it was mentioned in...

**Description and Expected Behavior** When compiling a Docker image, the `zenstack generate` command fails to execute properly, displaying an error indicating that Prisma is not found. The command seems to...

**Is your feature request related to a problem? Please describe.** I have zmodels structured like this: ``` model User { ... roles Role[] modifiedById String? @default(auth().id) modifiedBy User? @relation("modifiedBy", fields:...

**Description and expected behavior** I have a zmodel with inheritance. The base has a one to many relation. When quering the child, I am trying to use _count. However, it...

https://github.com/zenstackhq/zenstack/issues/1748 Adds support for the Prisma @@id compound ids to the RESTApiHandler. ## TODO - [x] Add tests for common operations - [x] Create - [x] Read - [x] Update...

Hello! I need help with this one. 😓 I'm trying to run this on Svelte but [prefetch queries need to be executed on the server](https://tanstack.com/query/latest/docs/framework/svelte/ssr) so I can't use the...

**Is your feature request related to a problem? Please describe.** If table polymorphism (https://zenstack.dev/docs/guides/polymorphism) is used in tables with composite primary keys specified with `@@id` then generation fails. **Describe the...

**Description and expected behavior** It appears that findMany on concrete models does not support ordering by base model properties. As an example I created a simplified polymorphic model like the...

**Is your feature request related to a problem? Please describe.** We use the Upsert hooks a lot in our frontend, however optimistic updates do not work for these hooks. Feature...

When using the openapi plugin (REST variant) with a schema using `@@id`, the attributes that make up the compound id are not added to the attribute list for the model....