bigfork / silverstripe-graphql-sdl
Outputs a GraphQL System Definition Language (SDL) file for your schema
Installs: 859
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- php: ^7.3 || ^8.0
- silverstripe/graphql: ^4 || ^5
This package is auto-updated.
Last update: 2024-12-03 12:24:52 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