Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
inxilpro committed Dec 19, 2024
1 parent 789aa40 commit 399288c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Lifecycle/AggregateStateSummary.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ protected function discoverNewStates(): bool
fn ($state) => $query->whereNot(fn (Builder $query) => $this->addConstraint($state, $query)))
)
->toBase()
->distinct()
->get()
->map(StateIdentity::from(...));
->chunkMap(StateIdentity::from(...));

$this->related_states = $this->related_states->merge($discovered_states);

Expand Down

0 comments on commit 399288c

Please sign in to comment.