Gentime Settings
You are able to control certain aspects of the Nexus Prisma code generation.
Usage
- Create a configuration file named any of: - nexusPrisma.ts / nexus-prisma.ts / nexus_prisma.ts- In one of the following directories: - Project Root – The directory containing your project's package.json. Example: - ├── nexus-prisma.ts └── package.json
- Primsa Directory – The directory containing your Prisma schema. Example: - ├── prisma/nexus-prisma.ts └── package.json
 
- If you have not already, install - ts-nodewhich- nexus-prismawill use to read your configuration module.
- Import the settings singleton and make your desired changes. Example: import { settings } from 'nexus-prisma/generator'settings({projectIdIntToGraphQL: 'ID',})
Reference
Please refer to the thorough JSDoc for reference documentation. Typically consumed in your IDE or Paka.