Graphql Schema Extend
graphql_schema_extendExtend GraphQL schema with custom fields.
Instructions
Extend GraphQL schema with custom fields.
Verifies the site actually has a graphql.schema.customization
configuration object before touching it. The previous call passed a
whole JSON document as drush config:set's key argument --
config:set takes <config> <key> <value> -- so every invocation
failed at drush, and no module on most sites provides that config
object in the first place.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| type_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||