Skip to content

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

Closed
@lermontex

Description

@lermontex

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",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions