- Issue created by @kevinsiji
- 🇨🇭Switzerland ayalon
Thanks for point out this. I have updated the php requirements in the composer.json file.
- Status changed to Fixed
over 1 year ago 12:31pm 15 May 2023
Running on PHP version less than 8.1 will fail with error
Error: Cannot unpack array with string keys in Drupal\graphql_core_schema\ViewsSchemaBuilder->generateViewType() (line 148 of /var/www/html/web/modules/contrib/graphql_core_schema/src/ViewsSchemaBuilder.php)
This is because, support for named arguments is only in PHP 8.1. It's not available in PHP 8.0. Source
Install the module on server with PHP version below 8.1. Create a server and access the endpoint.
Update the documentation to reflect the module requirement of minimum PHP version 8.1.
Fixed
1.0
Documentation
Thanks for point out this. I have updated the php requirements in the composer.json file.