silverstripe / graphql-composer-plugin
Helper plugin to generate the schema required for silverstripe/graphql
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 9
Forks: 0
Open Issues: 2
Type:composer-plugin
Requires
- composer-plugin-api: ^1.1 || ^2
- silverstripe/graphql: ^4
Requires (Dev)
- composer/composer: ^1.2 || 2
This package is auto-updated.
Last update: 2024-12-13 09:33:28 UTC
README
Overview
Generates the schema files required by
the silverstripe/graphql module
during composer install
and composer update
.
Ensures that any module updates result in a consistent runtime state.
Note: Requires plugin execution within composer, which is enabled by default in composer
.
Installation
composer require silverstripe/graphql-composer-plugin
Note: You generally don't need to install this plugin,
it is a requirement of silverstripe/graphql
.
Configuration
The plugin runs sake dev/graphql/build
by default, which builds all schemas.
Set an SS_GRAPHQL_COMPOSER_CMD
environment constant in order to customise this.
You can either limit this to a specific schema
(details),
or set it to an empty string to disable execution.