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

[3.3] Conflict with symfony/framework-bundle 6.4.6 || 7.0.6 #6310

Closed
lermontex opened this issue Apr 13, 2024 · 4 comments
Closed

[3.3] Conflict with symfony/framework-bundle 6.4.6 || 7.0.6 #6310

lermontex opened this issue Apr 13, 2024 · 4 comments

Comments

@lermontex
Copy link

lermontex commented Apr 13, 2024

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

"symfony/framework-bundle": "6.4.6 || 7.0.6",

@lermontex lermontex changed the title [3.3] Conflict with symfony/framework-bundle in 3.3 [3.3] Conflict with symfony/framework-bundle Apr 13, 2024
@lermontex lermontex changed the title [3.3] Conflict with symfony/framework-bundle [3.3] Conflict with symfony/framework-bundle 6.4.6 || 7.0.6 Apr 13, 2024
@soyuka
Copy link
Member

soyuka commented Apr 13, 2024

can you stay on 7.0.5 until 7.0.7 is released?

@lermontex
Copy link
Author

lermontex commented Apr 13, 2024

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!

@michaljusiega
Copy link

michaljusiega commented Apr 15, 2024

See symfony/symfony#54148 - probably we talking about this PR.

@lermontex
Copy link
Author

The issue was solved sience release of symfony 7.0.7 + api-platform/core 3.0.0

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

No branches or pull requests

3 participants