[PIN-4430] Optimize query for finding beneficiariesByAssistance
Sadly, there is still N+1 query problem on "reliefPackages", "booklets" and "nationalCardIds" properties - since those are 1:M with multiple properties, there is no way to load them as part of one query. If we would like to optimize this more, the response itself would have to be changed.
Edited by Petr Šopf