Skip to content

Commit

Permalink
Merge pull request #5388 from mhsdesign/task/document-RelationDistrib…
Browse files Browse the repository at this point in the history
…utionStrategy

TASK: Document that scatter does NOT move fallbacks!
  • Loading branch information
mhsdesign authored Jan 28, 2025
2 parents 0158499 + da650c9 commit ac7a598
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,14 @@
namespace Neos\ContentRepository\Core\Feature\NodeMove\Dto;

/**
* The relation distribution strategy for node aggregates as defined in the NodeType declaration
* The relation distribution strategy for node aggregates
*
* Used for building relations to other node aggregates
*
* - `scatter` means that different nodes within the aggregate may be related to different other aggregates
* (e.g. parent).
* Still, specializations pointing to the same node using the fallback mechanism will be kept gathered.
* - `scatter` means that different nodes within the aggregate may be related to different other aggregates (e.g. parent).
* - `gatherAll` means that all nodes within the aggregate must be related to the same other aggregate (e.g. parent)
* - `gatherSpecializations` means that when a node is related to another node aggregate (e.g. parent),
* all specializations of that node will be related to that same aggregate while generalizations
* may be related to others
* all specializations of that node will be related to that same aggregate while generalizations may be related to others
*
* @api DTO of {@see MoveNodeAggregate} command
*/
Expand Down

0 comments on commit ac7a598

Please sign in to comment.