Introspection

Introspection plugin for Prisma. This plugin allows you to introspect your database and generate a Prisma schema from it.

Version
6.1.0
Weekly downloads
1.1M
License
MIT
Updated
Jul 6, 2026

Installation

          npm i -D @graphql-codegen/introspection
        

Config API Reference

minify

type: boolean

Set to true in order to minify the JSON output. Default value: “false”

descriptions

type: boolean

Whether to include descriptions in the introspection result. Default value: “true”

specifiedByUrl

type: boolean

Whether to include specifiedByUrl in the introspection result. Default value: “false”

directiveIsRepeatable

type: boolean

Whether to include isRepeatable flag on directives. Default value: “true”

schemaDescription

type: boolean

Whether to include description field on schema. Default value: “false”

federation

type: boolean