Install
Works with Drupal: ^9 || ^10Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
MAJOR UPDATE - Drupal 10 compatibility for 3.x
The "graphql-php" library has been updated to one of the latest versions, making it compatible with PHP8. This can cause compatibility breaks with custom code within existing projects.
This version is no longer compatible with Drupal 8.
The code has been updated to stop using deprecated functions in Drupal 10 and also to make it compatible with PHP8.
The graphql explorer and voyager libraries have also been updated with the same changes as in the 4.x branch. This way, the core library "core/once" is used, and "jquery.once" is no longer used.
We recommend upgrading from 3.x to 4.x to take advantage of the improvements made in the GraphQL module and the underlying GraphQL library. If you still require automatic generation of the schema then take a look at the GraphQL Compose or GraphQL Core Schema projects which have implemented automatic schema generation on top of the 4.x GraphQL module.