Skip to content

Commit

Permalink
3587 - Delegate selection of relation distribution strategy to comman…
Browse files Browse the repository at this point in the history
…d handler for now
  • Loading branch information
Bernhard Schmitt committed Apr 16, 2024
1 parent a5a4f6b commit 3ace2f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/Domain/Model/Changes/MoveAfter.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function apply(): void
$workspace->workspaceName,
$subject->subgraphIdentity->dimensionSpacePoint,
$subject->nodeAggregateId,
RelationDistributionStrategy::STRATEGY_GATHER_ALL,
null,
$hasEqualParentNode ? null : $parentNodeOfPreviousSibling->nodeAggregateId,
$precedingSibling->nodeAggregateId,
$succeedingSibling?->nodeAggregateId,
Expand Down
2 changes: 1 addition & 1 deletion Classes/Domain/Model/Changes/MoveBefore.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function apply(): void
$workspace->workspaceName,
$subject->subgraphIdentity->dimensionSpacePoint,
$subject->nodeAggregateId,
RelationDistributionStrategy::STRATEGY_GATHER_ALL,
null,
$hasEqualParentNode
? null
: $succeedingSiblingParent->nodeAggregateId,
Expand Down
2 changes: 1 addition & 1 deletion Classes/Domain/Model/Changes/MoveInto.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function apply(): void
$workspace->workspaceName,
$subject->subgraphIdentity->dimensionSpacePoint,
$subject->nodeAggregateId,
RelationDistributionStrategy::STRATEGY_GATHER_ALL,
null,
$hasEqualParentNode ? null : $parentNode->nodeAggregateId,
)
)->block();
Expand Down

0 comments on commit 3ace2f0

Please sign in to comment.