Closed cnf-blueware closed 2 years ago
Seems like createmany zod schema is generating object schema similar to createone instead of generating the array schema for the data
export const CreateManySchema = z.object({ data: CreateManyInputObjectSchema, });
No response
Hello @cnf-blueware Do you have an idea how the working version would look to you?
Bug description
Seems like createmany zod schema is generating object schema similar to createone instead of generating the array schema for the data
How to reproduce
Expected behavior
No response
Prisma information
Environment & setup
Prisma Version