Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Commit

Permalink
III-1843 Created a technical debt ticket for introducing findByOne ag…
Browse files Browse the repository at this point in the history
…ain for cases when searching on aggregate id (https://jira.uitdatabank.be/browse/III-1862).
  • Loading branch information
Luc Wollants committed Feb 6, 2017
1 parent 07c68bf commit 0940fe1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Broadway/Saga/MultipleSagaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ public function handle(DomainMessage $domainMessage)
// If actual criteria are given, fetch all matching states and
// update them one by one.
foreach ($this->stateManager->findBy($criteria, $sagaType) as $state) {
// TODO: For CopiedCriteria only one state should be found.
$this->handleEventBySagaWithState($sagaType, $saga, $event, $state);
}
}
Expand Down

0 comments on commit 0940fe1

Please sign in to comment.