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

zenstack v2.5.1 introduces new error. for example for this schema: ```prisma generator client { provider = "prisma-client-js" binaryTargets = ["native", "rhel-openssl-3.0.x"] } datasource db { provider = "postgresql" url =...

in-progress

`createMany` and `createManyAndReturn` misses relation attributes, although they can be used. An example, If I have the following schema: ``` model House { id Int @id @default(autoincrement()) doorTypeId Int door...

Zod 3.23 added support for date and time string validators. The `z.string().date()` method validates strings in the format `YYYY-MM-DD`. The `z.string().time()` method validates strings in the format `HH:MM:SS[.s+]`. The second...

**Is your feature request related to a problem? Please describe.** Prisma introduces the concept of “_Extensions_”, which enable the insertion of custom business logic before a query is sent to...

**Is your feature request related to a problem? Please describe.** Actually, once a policy is violated, ZenStack returns the following error object, which is not super descriptive for consumers. That...

Make polymorpic models work with $extends prisma api I think it's super crucial because $extends is very popular api and I believe many people use it.

**Is your feature request related to a problem? Please describe.** Currently for RPC endpoints the OpenAPI plugin generates a massive JSON file (100K+ lines for ~20 models), which makes the...

**Is your feature request related to a problem? Please describe.** Currently ZenStack doesn't support counts on delegates, as explained in [this page](https://zenstack.dev/docs/guides/polymorphism#limitations) of the documentation. ![CleanShot 2024-09-19 at 17 28...

**Describe the solution you'd like** To avoid repeating multiple time the condition of an access policy which is error-prone and harder to maintain, the `@@allow` and `@@deny` statements in ZModels...

The TRPC plugin generates some type imports without explicitely declaring them as such. This results in a compile error if the option `verbatimModuleSyntax` is enabled. ```ts import { ClientType as...