codeGenerators
Type: Promise<PrismaSchema>[]
This array of Promises will be used to create models and enums when the schema is being generated. Each of these Promises will be awaited for a result, which is supposed to be a valid PrismaSchema. To configure the code generators properly, add the following line to your exported configuration object:
prisma-util.config.mjs
Last updated