[3.3] Conflict with symfony/framework-bundle 6.4.6 || 7.0.6
API Platform version(s) affected: v3.3.0-beta.2
Description
I'm using Symfony 7.0.6 and api-platform/core v3.3.0-beta.1. When trying to update to version v3.3.0-beta.2 an error occurs:
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires api-platform/core v3.3.0-beta.2 -> satisfiable by api-platform/core[v3.3.0-beta.2].
- api-platform/core v3.3.0-beta.2 conflicts with symfony/framework-bundle 6.4.6 || 7.0.6.
- symfony/framework-bundle is locked to version v7.0.6 and an update of this package was not requested.
I understand that this is related to PR #6292, however, please note that the change in Symfony 7.0.6 does not cause an error when working with GraphQL. My understanding is that this applies to using Enum as an API resource.
How to reproduce
Use Symfony 7.0.6 and install the api-platform/core v3.3.0-beta.2 package
Possible Solution
Allow the use of api-platform/core v3.3.0-beta.2 along with Symfony 6.4.6/7.0.6
Additional Context
https://github.com/api-platform/core/blob/1a120ee98db27b9fb3237637579c52e80fe6fadd/composer.json#L111
can you stay on 7.0.5 until 7.0.7 is released?
I'm currently using Symfony 7.0.6 and api-platform/core v3.3.0-beta.1 and haven't noticed any breaking bugs when working with GraphQL (including Enum).
Since the update was for testing purposes, I can continue using previous versions and wait for the next minor version of Symfony.
Thank you!
See https://github.com/symfony/symfony/pull/54148 - probably we talking about this PR.
The issue was solved sience release of symfony 7.0.7 + api-platform/core 3.0.0