Refined Types

Modify TypeScript definitions for model fields.

To enable this optional feature, add the refinedTypes element to your optionalFeatures array.

Feature Effect

This feature modifies the generated Prisma Client to change the type of all fields defined inside the fieldTypes configuration option to their mapped type.

Last updated