Skip to content

Commit 32db0d3

Browse files
authored
Update MIGRATION_GUIDE.md
1 parent ba47227 commit 32db0d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MIGRATION_GUIDE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ This migration guide covers the breaking changes introduced in the command type
77
### Summary of Changes
88

99
- **Removed**: `CommandWithResult` interface
10-
- **Removed**: `CommandWithResultHandler` interface
10+
- **Removed**: `CommandWithResultHandler` interface
11+
- **Removed** `MediatorBuilder` class hence the usage of PublishStrategy is now directly from `Mediator#publish(notification, strategy = default)`
12+
- **Removed** `Mediator#publish(notification)` since have already interface method with `PublishStrategy` -> `Mediator#publish(notification, strategy = default)` this is not a breaking change.
1113
- **Modified**: `Command` interface now accepts a generic type parameter `TResult`
1214
- **Added**: `Command.Unit` nested interface for commands that don't return results
1315
- **Modified**: `CommandHandler` interface now handles both unit and result-returning commands

0 commit comments

Comments
 (0)