-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 #1298
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