Skip to content

Loading…

DDC-1103: Addding an event before the load of collections #1700

Open
doctrinebot opened this Issue · 2 comments

3 participants

@doctrinebot

Jira issue originally created by user stof:

An event triggered when loading collections would be useful for performances. The use case would be batch querying some stuff instead of doing a query per object of the collection in a postLoad event.
For instance, the Translatable extension from https://github.com/l3pp4rd/DoctrineExtensions loads the translations on postLoad which result in many queries. Being able to load them all in a single query would be useful.

@doctrinebot

Comment created by gediminasm:

I think custom persisters will solve these issues, lets wait for them, there are already enough events

@beberlei beberlei was assigned by doctrinebot
@zeroedin-bill
Doctrine member

Valid concern, should probably be addressed in 3.0

@zeroedin-bill zeroedin-bill added this to the 3.0 milestone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.