-
**Is your feature request related to a problem? Please describe.**
Sometimes i want baked in logic like soft delete mechanism into my model access policy. But sometimes the user/client can still a…
-
**Description and expected behavior**
Hey there! I'm currently implement ZenStack in a NextJS project hosted on Cloudflare Pages (edge-runtime) so my entire application is set with:
```ts
export co…
-
Some output of `zenstack generate` are committed into source control, so it doesn't make sense to regenerate them during CI.
-
I'm trying to use `createManyAndReturn` API on polymorphic model, the base of the model (not the polymorphic part) has `createdBy` field, but when I'm trying to use it, I get the following error:
…
-
**Description and expected behavior**
example model:
```
model Profile {
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
…
-
## Problem
On large schemas you may want to ensure that a model conforms to a specific shape. This often allows for better compatibility across the system.
The motivation for Interfaces in Prism…
-
**Description and expected behavior**
I have this query:
```ts
await asyncMutate({
data: {
title: "test",
projectId: "8cdffc88-c708-4593-8116-e67c72b79977"
},
…
-
## Problem
I have the following `config.mjs`:
```
export default {
optionalFeatures: ["crossFileRelations"],
baseSchema: BaseSchema,
includeFiles: [...globModels(BaseSchema, "prisma/mo…
-
**Description and expected behavior**
As per discord help post (thread id: 1271572119838261270)
I've have a base model called BaseOrder which I extend into Order and GuestOrder models.
Within B…
-
**Is your feature request related to a problem? Please describe.**
- Prisma's current API for hooks (esp. at model level) is lacking.
- `.$extends` requires explicit method wrapping, and doesn't s…