A Drupal GraphQL 4.x schema generator.
You'll need:
- A functional Drupal
^10.1
site. - The GraphQL Compose module.
composer require 'drupal/typed_data:^1.0@beta'
composer require 'drupal/graphql:^4.8'
composer require 'drupal/graphql_compose:^2.2'
Install through your Drupal Admin UI or Drush.
drush pm-enable graphql_compose
- Enable the GraphQL Compose module.
- Enable GraphQL Compose feature modules.
- 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.