Closed franmomu closed 1 year ago
We are kind of stuck in here, the problem is that with targeted value resolvers, MapEntity
is tied (by FQCN) to EntityValueResolver
so we cannot register another one (https://github.com/symfony/symfony/issues/49905)
In our side, the only thing I can think of is to create a DocumentValueResolver
class which would decorate EntityValueResolver
and create a MapDocument
class which would extend MapEntity
.
In our side, the only thing I can think of is to create a
DocumentValueResolver
class which would decorateEntityValueResolver
and create aMapDocument
class which would extendMapEntity
.
@franmomu imo this would make the most sense to do
Closes https://github.com/doctrine/DoctrineMongoDBBundle/issues/770
Symfony allows array attributes for services tags since 6.2: https://github.com/symfony/symfony/pull/47364