Skip to content

Commit

Permalink
do not auto-create streams
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed Oct 14, 2019
1 parent 6101af1 commit a665d54
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Store/Event/AbstractEventStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ public function loadFrom(
}

if (!$this->streamExists($stream)) {
$this->createStream($stream);

return new AggregateEventEmptyStream();
}

Expand Down Expand Up @@ -84,8 +82,6 @@ public function loadTo(
}

if (!$this->streamExists($stream)) {
$this->createStream($stream);

return new AggregateEventEmptyStream();
}

Expand Down

0 comments on commit a665d54

Please sign in to comment.