This configuration entry is related to an Experimental (Optional) feature called Code Schemas. Before you start to configure this section, make sure to read the page specific for this feature (accessible here) and this page that explains how to enable Experimental Features.
API Version v1.3.0 - Introduced codeGenerators configuration option.
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
exportdefault{ // Other configuration linescodeGenerators: [newPromise((resolve)=>resolve("yourSchemaHere"))]}