Updates 3.x branch's webonyx/graphql-php to a version compatible with php 8.1#1298
Updates 3.x branch's webonyx/graphql-php to a version compatible with php 8.1#1298loopy3025 wants to merge 1 commit intodrupal-graphql:8.x-3.xfrom
Conversation
|
Beuller? |
|
@loopy3025 If you don't hear back in time for EOL you can override the library in your root composer.json: "webonyx/graphql-php": "14.11.6 as 0.12.6" This may not actually work though I my graphql endpoints are now throwing: |
|
@lahoosascoots Thank you for suggestion: |
|
Yes can confirm it works. This is my patch file: |
|
Thank you, I will test it. soon |
|
Hi @Oleksii909 and @zuernBernhard with the composer override and the patch file change. I managed to get the below error fixed. My GQL feed is also working now, but I'm seeing this below error on top of the feed on Drupal GQL explorer And on Drupal logs I can see this Error: Do you guys have any idea if this is related ? |
|
Perhaps some code which interacts with graphql and is not 8.1 compatible ? Can you place a breakpoint there and have a look at the stacktrace where this comes from ?
|
|
This request has already been implemented in the latest version of the module. https://github.com/drupal-graphql/graphql/blob/8.x-3.x/composer.json#L8 Thank you. |
Hopefully resolves #1297