Gabriel Ostrolucký

Results 167 comments of Gabriel Ostrolucký

Change unblocking this has been merged upstream, so this is ready to implement now

I think such feature would be welcome addition, if hidden behind optional switch. Perhaps @debesha would be interested in contributing it here, so he doesn't have to maintain his own...

ORM folks probably wouldn't like performance impact this would have, even as just abstraction with empty implementation. Hydration is expensive.

Let's postpone until ORM has this option then. @stof is there an issue for this in ORM repository?

@alcaeus Unfortunately that's in ODM only

Indeed. This won't be implemented by maintainers, as it's not that common to use this. Should be implemented by someone who needs it.

Doctrine team is contemplating switching to PSR caches in our projects. In such case this configuration would no longer be needed, as all PSR caches support multi get

Difference here is that discovery of entities in a namespace is handled by ORM, bundle just passes it over. Considering types are not services, more appropriate place to ask for...

Actually, I was looking into this a bit and it should be possible to make types to be services. Then we would be able to tag these and inject everything...

As far as I can see, DBAL also defines name in `configure` and we don't care about it, we just specify name in tag. Like here https://github.com/doctrine/DoctrineBundle/blob/b7002752b555cb61cc9ca8d4c89a5b6e8200f765/Resources/config/dbal.xml#L104-L104 Why wouldn't this...