diff --git a/composer.json b/composer.json
index afa10ee377fd9fa07fe6ad8a7ecfd4fa77e94d4a..1a3ba6a946db3144b35c271174d7d45a52eddd55 100644
--- a/composer.json
+++ b/composer.json
@@ -12,7 +12,7 @@
   },
   "require": {
     "php": "^8.1",
-    "drupal/graphql": "^4.5"
+    "drupal/graphql": "^4 || ^5"
   },
   "extra": {
     "drush": {
diff --git a/graphql_export.info.yml b/graphql_export.info.yml
index 3b76398258fa64bb0d2e20fd7a277a83b704af31..7f9f6fe4669496c54c2c8195e1bde63ce37cb90f 100644
--- a/graphql_export.info.yml
+++ b/graphql_export.info.yml
@@ -4,6 +4,6 @@ type: module
 core_version_requirement: ^10.2 || ^11
 php: 8.1
 dependencies:
-  - graphql:graphql (4.x)
+  - graphql:graphql
 package: GraphQL
 hidden: false