bigfork/silverstripe-graphql-sdl

Outputs a GraphQL System Definition Language (SDL) file for your schema

Maintainers

Package info

github.com/bigfork/silverstripe-graphql-sdl

Type:silverstripe-vendormodule

pkg:composer/bigfork/silverstripe-graphql-sdl

Statistics

Installs: 944

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.1 2024-12-03 12:24 UTC

This package is auto-updated.

Last update: 2026-03-01 00:38:00 UTC


README

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