chrishoermann / zod-prisma-types

Generator creates zod types for your prisma models with advanced validation
Other
579 stars 43 forks source link

ModelCreateInputWithPartialRelationsSchema #200

Open demircancelebi opened 8 months ago

demircancelebi commented 8 months ago

When using both

createInputTypes                 = true
createOptionalDefaultValuesTypes = true
createRelationValuesTypes        = true

Although we get ModelOptionalDefaultsWithPartialRelationsSchema, this schema still expects the actual fields used for the relations to exist in the schema. It would be very useful if we also had something like ModelCreateInputWithPartialRelationsSchema.