Add name to InMemory services
This commit is contained in:
+1
@@ -21,6 +21,7 @@ class GameListRepositoryInMemory(
|
||||
) : GameListRepository {
|
||||
private val projectionsSnapshot =
|
||||
ProjectionSnapshotRepositoryInMemory(
|
||||
name = GameListRepositoryInMemory::class,
|
||||
eventStore = eventStore,
|
||||
snapshotCacheConfig = snapshotConfig,
|
||||
applyToProjection = GameList::apply,
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import java.util.UUID
|
||||
|
||||
class GameProjectionBusInMemory :
|
||||
GameProjectionBus,
|
||||
Bus<Projection<GameId>> by BusInMemory(),
|
||||
Bus<Projection<GameId>> by BusInMemory(GameProjectionBusInMemory::class),
|
||||
Comparable<GameProjectionBusInMemory> {
|
||||
private val instanceId: UUID = UUID.randomUUID()
|
||||
|
||||
|
||||
+1
@@ -21,6 +21,7 @@ class GameStateRepositoryInMemory(
|
||||
) : GameStateRepository {
|
||||
private val projectionsSnapshot =
|
||||
ProjectionSnapshotRepositoryInMemory(
|
||||
name = GameStateRepositoryInMemory::class,
|
||||
eventStore = eventStore,
|
||||
snapshotCacheConfig = snapshotConfig,
|
||||
applyToProjection = GameState::apply,
|
||||
|
||||
Reference in New Issue
Block a user