Skip to content

How to use Drupal GraphQL Compose.

Notifications You must be signed in to change notification settings

drupal-graphql-compose/documentation

Repository files navigation

Drupal GraphQL Compose

Pipeline

A Drupal GraphQL 4.x schema generator.

Install

You'll need:

Install dependencies

composer require 'drupal/typed_data:^1.0@beta'
composer require 'drupal/graphql:^4.8'

Install GraphQL Compose

composer require 'drupal/graphql_compose:^2.2'

Enable the module

Install through your Drupal Admin UI or Drush.

drush pm-enable graphql_compose

TL;DR

  1. Enable the GraphQL Compose module.
  2. Enable GraphQL Compose feature modules.
  3. Enable entities and fields in your schema.

GraphQL should be self explanatory. Use the Voyager and Explorer to make sense of the schema. This documentation is for the Drupal specific elements.

About

How to use Drupal GraphQL Compose.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published