Skip to content

[DoctrineBridge] Register multiple EntityValueResolver #49905

@franmomu

Description

@franmomu

Symfony version(s) affected

6.3.0

Description

Since targeted value resolvers, #[MapEntity] is associated to EntityValueResolver.

There will be a conflict when registering multiple services with tag controller.argument_value_resolver and EntityValueResolver as name (using ORM + MongoDB) and I guess only one would apply.

Reference: doctrine/DoctrineMongoDBBundle#773 (comment)

How to reproduce

Registering two services with tag controller.argument_value_resolver and EntityValueResolver as name.

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions