🐛 Incompatibility between graphqlite 8.2 and graphqlite-bundle
Description
After running a standard Composer update, we encountered a runtime error due to an incompatibility between:
thecodingmachine/graphqlite 8.2.0
thecodingmachine/graphqlite-bundle
The application crashes during container compilation with the following error:
Attempted to call an undefined method named "getRequestAnnotation"
of class "TheCodingMachine\GraphQLite\AnnotationReader".
Stack trace (excerpt)
GraphQLiteCompilerPass.php:340
Call to undefined method TheCodingMachine\GraphQLite\AnnotationReader::getRequestAnnotation()
Root cause
It seems that:
getRequestAnnotation() has been removed in graphqlite 8.2
- but
graphqlite-bundle still calls this method
This leads to a runtime incompatibility, even though Composer allows the installation.
Steps to reproduce
- Run:
- Then:
👉 Result: crash during container compilation
Expected behavior
- Either:
graphqlite-bundle should be compatible with graphqlite 8.2
- Or:
- Composer constraints should prevent installing incompatible versions
Suggested fix
- Update
graphqlite-bundle to support graphqlite 8.2
- OR tighten version constraints (e.g.
<8.2)
Environment
- Symfony: 7.4
- PHP: 8.5
- graphqlite: 8.2.0
Additional context
This mismatch is easy to hit during routine updates (composer update -W) and results in a hard runtime failure.
🙏 Thanks for your work on GraphQLite.
🐛 Incompatibility between graphqlite 8.2 and graphqlite-bundle
Description
After running a standard Composer update, we encountered a runtime error due to an incompatibility between:
thecodingmachine/graphqlite8.2.0thecodingmachine/graphqlite-bundleThe application crashes during container compilation with the following error:
Stack trace (excerpt)
Root cause
It seems that:
getRequestAnnotation()has been removed in graphqlite 8.2graphqlite-bundlestill calls this methodThis leads to a runtime incompatibility, even though Composer allows the installation.
Steps to reproduce
👉 Result: crash during container compilation
Expected behavior
graphqlite-bundleshould be compatible withgraphqlite 8.2Suggested fix
graphqlite-bundleto supportgraphqlite 8.2<8.2)Environment
Additional context
This mismatch is easy to hit during routine updates (
composer update -W) and results in a hard runtime failure.🙏 Thanks for your work on GraphQLite.