Plugin Details
| Package name | @graphql-codegen/introspection |
| Weekly Downloads | |
| Version | |
| License | |
| Updated | Aug 8th, 2022 |
Installation
yarn add -D @graphql-codegen/introspectionThis plugin generates a GraphQL introspection file based on your GraphQL schema.
Config API Reference
minify
type: boolean
default: false
Set to true in order to minify the JSON output.
Usage Examples
generates:
introspection.json:
plugins:
- introspection
config:
minify: truedescriptions
type: boolean
default: true
Whether to include descriptions in the introspection result.
specifiedByUrl
type: boolean
default: false
Whether to include specifiedByUrl in the introspection result.
directiveIsRepeatable
type: boolean
default: true
Whether to include isRepeatable flag on directives.
schemaDescription
type: boolean
default: false
Whether to include description field on schema.
federation
type: boolean
Last updated on August 10, 2022