-
**Description and expected behavior**
After moving `*.zmodel` files to a new folder and updating the schema location in the generate command `npx zenstack generate --schema ./zmodels/schema.zmodel`, …
-
**Is your feature request related to a problem? Please describe.**
Prisma supports setting an index type for PostgreSQL databases, e.g. `@@index([field1, field2], type: BTree)` ([docs](https://www.pr…
-
**Is your feature request related to a problem? Please describe.**
The REST routes generated are pretty unusual and closer to RPC than REST as the verbs are present in the path instead of the resou…
-
Schema:
```prisma
model User {
id String @id @unique @default(uuid())
posts Post[]
@@allow('all', true)
}
model Pos…
-
**Description and expected behavior**
I'm unsure if this is just a visual-studio plugin bug or if it goes deeper (EDIT: I can confirm this blocks generation), but It seems you cannot use two enums in…
-
**Description and expected behavior**
Openapi plugin generates `rest` flavor specifications by default instead of `rpc` as described inside documentation.
**Screenshots**
If applicable, add scree…
-
![image](https://github.com/zenstackhq/zenstack/assets/125652661/961f6e7d-e32b-4606-b6af-69b9170b2786)
Hey there @jonathangerbaud @jawadst @potion-cellar
Facing an error while runing the api
…
-
**Description and expected behavior**
When using @@openapi.ignore() it omits generating paths but it should generate schema for relations.
E.g. AccountFindManyArgs (NextAuth) when creating a Post li…
-
**Description and expected behavior**
#204 attempts to implement setting enum variants as field defaults (prisma supports this). But this does not work when the enum is declared after the model:
`…
-
**Description and expected behavior**
I'm trying to set up a rest flavor api with NextAuth and I encountered this error: `An unhandled error occurred: Error: model verificationToken does not have an …