-
Notifications
You must be signed in to change notification settings - Fork 12
Description
-
Do not descend
BlackBoxBoundedContextfromAbstractEventSubscriber. This adds unnecessary public API to the class, which is confusing for the user. Have a package-private class which does all the job instead. -
Deprecate all the factory methods, leaving only
from() -
Remove deprecated API.
-
Why do we want to expose
SingleTenantBlackBoxContextandMultiTenantBlackBoxContextas separate types? Can we keep the package-private? It would improve debugging, but havingisMultitenant()is quite enough for the public API. After all we want to make the tenancy aspect hidden from the users as much as possible. Let's be consistent. -
Remove generic parameter of
BlackBoxContext. -
Remove test-only methods like
eventBus(),commandBus(),stateTypes(). -
Remove
withActorIn(UserId userId, ZoneId zoneId, ZoneOffset zoneOffset)method.
Use combinationwithActor()andin()methods instead. -
Remove
zoneOffsetparameter fromin()method.
ObtainzoneOffsetfrom the passedzoneId.