- Issue created by @andresalvarez
Description:
Currently, there is no limit in recursion when exporting entities that contain entity reference fields. This leads to all referenced entities being fully exported, which can result in unnecessarily large exports and performance issues.
Problem:
When a content entity has an entity reference field, the exporter currently exports all referenced entities recursively, without limit.
Desired behavior:
There should be an option to set a recursion limit, e.g., level 1, 2, 3, etc.
By default, if an entity has a reference field:
The referenced entity should not be fully exported
Only a partial export (e.g., UUID, title, type) should be included to maintain the relationship
This would help optimize the export process and prevent deep recursion unless explicitly allowed.
Proposal:
I can work on a patch to implement this functionality.
Active
1.4
Code