- Issue created by @3li
- Merge request !9Issue #3463682 by 3li: fix problem when using graphql_twig with twig 3.9.0+ → (Open) created by 3li
- Status changed to Needs work
5 months ago 9:21am 25 July 2024 - 🇬🇧United Kingdom 3li U.K. 🇬🇧
This has fixed the Drupal 10.3 issues but the tests are not working still.
- 🇫🇮Finland gaards
The Upgrade status module also reports this warning:
Since twig/twig 3.9: Twig node "Drupal\graphql_twig\GraphQLNode" is not marked as ready for using "yield" instead of "echo"; please make it ready and then flag it with the #[YieldReady] attribute.
I added a patch for v4 of GraphQL Twig that should solve this, following the logic that was done for Drupal core:
https://git.drupalcode.org/project/drupal/-/commit/5a43c22fa3d7665a0e05a...
- Merge request !11Fix problems when using graphql_twig v4 with twig 3.9.0+ → (Open) created by gaards
- 🇫🇮Finland gaards
I added a MR for version 4 of the GraphQL Twig module, including 3lis patch → above, and the yield patch → I added above.
As a note our organization has used the patch by 3li on our sites for some time already without issues.