-
```prisma
model User {
id Int @id @default(autoincrement())
admin Boolean @default(false)
username String @unique @allow("all", auth() == this) @allow("all", auth().admin)
password String…
-
The generated `helper.ts` has `import { isPrismaClientKnownRequestError } from '@zenstackhq/runtime'` which prints the following stack:
```bash
../../node_modules/vscode-languageserver-textdocumen…
-
**Description and expected behavior**
I am generating API for around 36 tables, which is creating huge openapi.json file. This file hangs up when loading in redoc and swagger ui (this loads and show…
-
Suggestion from @keanugrievs:
```prisma
hits Int @default(1) @override("update", auth().id == user_id && future() == current() + 1)
```
Other thoughts:
```prisma
hits Int @allow('update', …
-
Hi
I am unable to set a default value to a JSON type field.
It gives the syntax highlighting error in VS Code and also produces errors while generating.
It works fine in Prisma though.
**…
-
### Discussed in https://github.com/zenstackhq/zenstack/discussions/572
Originally posted by **genehynson** July 10, 2023
Hey! I'm really excited to use Zenstack for the first time and am gene…
-
**Description and expected behavior**
I am attempting to add the enhanced prisma client in the context of a graphql server, and I'm getting this error while attempting to codegen from graphql-codegen…
-
**attempting to do:**
link vercel[x] create tables with vercel[x]
**error:**
terminal confirmed vercel app and local repo connected to github to be linked.
![Screen Shot 2023-08-01 at 11 55 16 A…
-
**Is your feature request related to a problem? Please describe.**
I'm interested in integrating ZenStack and tRPC into my SvelteKit project, but there's an awkward triangle of adapters and it's not …
-
I Understand that zenstack generates all the routes for me. My problem is:
How would I declare a model that handles multiple file uploads?
For example, I have a model:
```
model Upload {
…