Do not fetch full + and * relations
Relations of cardinality + or * may have thousands of elements. To prevent excessive network and server use, we should not fetch all elements from those relations.
List components should be used instead for show, create and edit views to use paginated requests. Thus there is no need to fetch those relations in data provider's getOne
and getMany
functions. update
function should also be changed to only add and remove relations instead of recreating it.
For the list view, we should only show relations for cardinality ? and 1.
Progress:
-
Show view => !31 (merged). -
List view => !31 (merged). -
Create and Edit views => !33 (merged)
Edited by Arnaud Vergnet