Active
Project:
GraphQL Core Schema
Version:
1.0.24
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2026 at 13:08 UTC
Updated:
19 Mar 2026 at 13:17 UTC
Jump to comment: Most recent
When using graphql_core_schema 1.0.23 or 1.0.24 with graphql 4.7.0, I get an exception:
Error: Call to undefined method Drupal\graphql\Plugin\SchemaExtensionPluginManager::sortByPriority() in Drupal\graphql_core_schema\Plugin\GraphQL\Schema\CoreComposableSchema->getExtensions() (line 196 of modules/contrib/graphql_core_schema/src/Plugin/GraphQL/Schema/CoreComposableSchema.php).
Drupal\graphql_core_schema\Plugin\GraphQL\Schema\CoreComposableSchema->getExtensions() (Line: 210)
Drupal\graphql_core_schema\Plugin\GraphQL\Schema\CoreComposableSchema->buildConfigurationForm() (Line: 163)
Drupal\graphql\Form\ServerForm->form() (Line: 106)
Drupal\Core\Entity\EntityForm->buildForm()
call_user_func_array() (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 283)
SchemaExtensionPluginManager::sortByPriority is available since graphql 8.x-4.11 with commit a5628917e2.
graphql_core_schema 1.0.23 uses this method since commit 3cdb83 - but the module fails to declare the new minimal graphql version it needs.
Mark 1.0.23, 1.0.24 and later as requiring at least graphql 4.11.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments