Skip to content

silverstripe/silverstripe-graphql-composer-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silverstripe GraphQL Composer Plugin

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.

About

Helper plugin to generate the schema required for silverstripe/graphql

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages