Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1 KB

README.md

File metadata and controls

41 lines (26 loc) · 1 KB

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.