Skip to content

bigfork/silverstripe-graphql-sdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL SDL transcriber

Automatically generates a file containing your GraphQL schema, represented by the GraphQL Type System Definition Language. This is mainly intended for use with the IntelliJ GraphQL plugin.

Install

composer require bigfork/silverstripe-graphql-sdl

Usage

The SDL files are, by default, only built in dev mode and are output to public/_graphql/schemaname.sdl.graphql. All schemas are included, but if this causes problems (e.g. conflicting types) it’s possible to only enable this for specific schemas via YAML config:

Bigfork\SilverstripeGraphQLSDL\SDLTranscribeHandler:
  schemas:
    - default

About

Generates a GraphQL SDL file on dev/build

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages