The proposal is straightforward, add a method which allows for getting multiple entities
at once.
List<T> getEntities(T entityType, List<EntityReference> references)
The reason for wanting to have a bulk getter is because optimizations can be made at the
database
level and there are a number of places where multiple documents are loaded at once eg:
panels.
For the moment I intend to use an if statement to determine what it's getting and load
each of the
entities using the current loader. As usage increases I will begin looking at ways to bulk
load.
WDYT?
Caleb
Show replies by date