Skip to content
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

IBX-1993: Upgrade overblog/graphql-bundle to v0.14 #26

Merged
merged 3 commits into from
Feb 23, 2022

Conversation

bdunogier
Copy link
Collaborator

@bdunogier bdunogier commented Feb 17, 2022

JIRA https://issues.ibexa.co/browse/IBX-1993.

This PR aims to bump overblog/graphql dependency which offers full support for PHP8. Changes were required to adjust definitions that were lacking nodeType configuration key.

Bertrand Dunogier added 2 commits February 15, 2022 12:01
…ierConnection

Inheriting a relay-connection that doesn't specify a nodeType fails with v0.14.
The fields from ItemByIdentifierConnection are moved to the generated types,
and the generator updated accordingly.
@bdunogier bdunogier force-pushed the ibx-1993-item_connection_nodeType branch from 56bc069 to 0118254 Compare February 17, 2022 09:01
@konradoboza konradoboza self-assigned this Feb 21, 2022
@konradoboza konradoboza changed the title IBX-1993: Upgrade overblog/graphql-bundle to v0.14 + fix IBX-1993: Upgrade overblog/graphql-bundle to v0.14 Feb 22, 2022
@konradoboza konradoboza marked this pull request as ready for review February 22, 2022 08:46
Copy link
Contributor

@mnocon mnocon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've discovered another GraphQL issue, not related to this PR: https://issues.ibexa.co/browse/IBX-2419

Other than that everything looks ok, QA approved

@adamwojs adamwojs merged commit 7d9206b into main Feb 23, 2022
@adamwojs adamwojs deleted the ibx-1993-item_connection_nodeType branch February 23, 2022 12:59
@mnocon
Copy link
Contributor

mnocon commented Feb 23, 2022

Hi, I'm sorry, I've missed something - looks like pagination in Subitems stops working when a Content Item has more than 10 children (the actual pagination should be visible)

The error message is:

[2022-02-23T13:26:10.318285+00:00] app.CRITICAL: [GraphQL] Error: Class 'Overblog\GraphQLBundle\Relay\Connection\Output\ConnectionBuilder' not found[0] (caught throwable) at /Users/mareknocon/Desktop/Sites/v3_4/vendor/ibexa/graphql/src/lib/Relay/PageAwareConnection.php line 45. {"exception":"[object] (Error(code: 0): Class 'Overblog\\GraphQLBundle\\Relay\\Connection\\Output\\ConnectionBuilder' not found at /Users/mareknocon/Desktop/Sites/v3_4/vendor/ibexa/graphql/src/lib/Relay/PageAwareConnection.php:45)"} []

Zrzut ekranu 2022-02-23 o 14 28 29

And it did not happen before this PR

What would be the best way to approach this, should we revert this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants