Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

graphql_export

107 sites Security covered
View on drupal.org

GraphQL Export

GraphQL Export enables exporting your GraphQL schemas and introspection data to files.

An example usage: You have Drupal and a detached frontend in a monorepo. You can use this module to export the full schema to the frontend application on config export for usage by frontend tooling.

This module enables:

Web UI

This module will expose a simple interface at /admin/config/graphql/servers/manage/SERVER_MACHINE_ID_HERE/export where you can see and manually export the schema.

Exporting with Drush

To enable drush exporting, optionally add the following to your settings.php:

$settings['graphql_export'] = [
  'SERVER_MACHINE_ID_HERE' => [
    'graphqls' => '../path/to/save/schema.graphqls',
    'json' => '../path/to/save/schema.json',
  ],
];

Run drush config:export to export your files.

You can change the file paths to whatever you like, as long as the path is writable by Drupal when exporting your config.

GraphQL 3.x support

Use the 8.x-1x branch. This version is not actively maintained. It only has drush integration, and there is slight differences in the settings required. View branch README for more info.

Activity

Total releases
5
First release
Feb 2025
Latest release
7 months ago
Release cadence
62 days
Stability
60% stable

Release Timeline

Releases

Version Type Release date
2.0.6 Stable Oct 16, 2025
3.0.0-alpha1 Pre-release Oct 16, 2025
3.0.x-dev Dev Oct 16, 2025
2.0.5 Stable Apr 4, 2025
2.0.4 Stable Feb 12, 2025