Closed CursedMun closed 1 year ago
inside BoolFilterSchema.ts there's a file missing BooleanFieldRefInputSchema
BoolFilterSchema.ts
import type { Prisma } from '../../../infrastructure/db/generated'; import { z } from 'zod'; import { BooleanFieldRefInputSchema } from './BooleanFieldRefInputSchema'; <- this file is missing for some reason import { NestedBoolFilterSchema } from './NestedBoolFilterSchema'; export const BoolFilterSchema: z.ZodType<Prisma.BoolFilter> = z.object({ equals: z.union([ z.boolean(),z.lazy(() => BooleanFieldRefInputSchema) ]).optional(), not: z.union([ z.boolean(),z.lazy(() => NestedBoolFilterSchema) ]).optional(), }).strict(); export default BoolFilterSchema;
Just to someone who comes here the reason was because of:
previewFeatures = ["fieldReference"] <- this was the proble
inside
BoolFilterSchema.ts
there's a file missing BooleanFieldRefInputSchema