drupal-graphql / drupal-graphql/graphql

[V4] Provide a method to download the schema in GraphQL or JSON format

Open
#1,218 1 comment 1 reaction 0 assignees View on GitHub
4.x feature
Dominant language
PHP
Stars
287
Forks
198
PR merge metrics
No merged PRs in 30d

Description

Introspection provides the ability for other tools to ask questions to the GraphQL API. However, sometimes you have a tool that requires a GraphQL schema or JSON schema file (like Postman) which doesn't have its own introspection tool built in and you don't want to set up a toolchain just to get this data.

The proposal is to add a method on the GraphQL configuration page, similarly to the validation tab, that allows a developer to download the current schema either as `.graphql` file (which merges and simplifies all enabled `.graphqls` files) or as `.json` file.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.