Open kachar opened 3 months ago
Describe the bug
When prismaSchemaFolder preview feature is enabled only the zod schema from the main schema.prisma file is getting generated.
prismaSchemaFolder
schema.prisma
Package versions (please complete the following information):
Additional context
https://www.prisma.io/docs/orm/prisma-schema/overview/location#multi-file-prisma-schema
generator client { provider = "prisma-client-js" previewFeatures = ["prismaSchemaFolder"] } generator zod { provider = "zod-prisma-types" createInputTypes = false createOptionalDefaultValuesTypes = true addInputTypeValidation = true }
Describe the bug
When
prismaSchemaFolder
preview feature is enabled only the zod schema from the mainschema.prisma
file is getting generated.Package versions (please complete the following information):
Additional context
https://www.prisma.io/docs/orm/prisma-schema/overview/location#multi-file-prisma-schema