Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: make command handler returns one or more events #66

Merged
merged 5 commits into from
Mar 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: make command handler returns one or more events
BREAKING CHANGE: HandleCommand return an array of events instead of a single event
Tochemey committed Mar 16, 2024
commit 19778f7a9f0f3621935eeaf20fde1faa1c123e50
1 change: 0 additions & 1 deletion actor_test.go
Original file line number Diff line number Diff line change
@@ -556,7 +556,6 @@ func TestActor(t *testing.T) {
assert.NoError(t, err)
})
t.Run("with unhandled event", func(t *testing.T) {
defer goleak.VerifyNone(t)
ctx := context.TODO()
// create an actor system
actorSystem, err := actors.NewActorSystem("TestActorSystem",