Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 758 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 758 Bytes

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