refactor(eventstore): rename EventPusher to Command, EventReader to Event, PushEvents to Push and FilterEvents to Filter (#2907)

This commit is contained in:
Silvan
2022-01-03 09:19:07 +01:00
committed by GitHub
parent 9a374f9c5c
commit 09be70949f
339 changed files with 1436 additions and 1346 deletions

View File

@@ -631,7 +631,7 @@ func TestNewMultiStatement(t *testing.T) {
type args struct {
table string
event *testEvent
execs []func(eventstore.EventReader) Exec
execs []func(eventstore.Event) Exec
}
type want struct {
@@ -671,7 +671,7 @@ func TestNewMultiStatement(t *testing.T) {
sequence: 1,
previousSequence: 0,
},
execs: []func(eventstore.EventReader) Exec{
execs: []func(eventstore.Event) Exec{
AddDeleteStatement(
[]handler.Condition{},
),
@@ -706,7 +706,7 @@ func TestNewMultiStatement(t *testing.T) {
previousSequence: 0,
aggregateType: "agg",
},
execs: []func(eventstore.EventReader) Exec{
execs: []func(eventstore.Event) Exec{
AddDeleteStatement(
[]handler.Condition{
{