-
**Description and expected behavior**
After trying to implement the new check() function in the access control, I found out that when adding the future() function in another policy, it will kinda ove…
-
**Description and expected behavior**
Any `@@index` attribute is copied over from the delegate model when using `@@delegate`, which causes an error in `schema.prisma` for referencing an unknown field…
-
**Description and expected behavior**
Prisma just released a new version `5.16.0`, and this probably came with some changes to their internal types that Zenstack relied upon. When running zenstack …
-
**Description and expected behavior**
Given the below schema, running `db.gymUser.findMany()` without authentication in the repl returns all the user data.
```prisma
model Gym extends Base {
…
-
**Description and expected behavior**
The plugin should generate the proper spec for `meta` response data key.
Currently, I'm using `npx openapi-typescript prisma/schema.json -o prisma/schema.d.ts…
-
It could be nice to add this kind of feature to core, so you get filtered views without cluttering up your application queries
Open questions:
- Would it be slow to add this filter to all querie…
-
**Description and expected behavior**
Upon trying to format the ZenStack schema file, the extension fails to format the file if it contains an `Unsupported` type.
In my setup, I have a model with …
-
**Description and expected behavior**
According to the RestAPI documentation passing in a list of for example id's separated by comma's should return a list not just one result. Currently its only…
sw34 updated
2 months ago
-
I have the following schema:
```
model Post {
id String @default(cuid()) @id
}
model Comment {
id String @default(cuid()) @id
}
model Vote {
id …
-
## Problem
In Postgres you can set a user for a connection on the database:
```ts
await prisma.$executeRaw(`SET current_user_id = ${currentUser.id}`)
```
This SET can then be used in co…