Rename layer to live
This commit is contained in:
parent
96b3b77b79
commit
49d6b6c8cc
15 changed files with 27 additions and 29 deletions
|
|
@ -61,19 +61,19 @@ object App extends ZIOAppDefault:
|
|||
override def run = app.provide(
|
||||
Server.default,
|
||||
JwtScalaTokenService.live,
|
||||
CommandEngine.layer[ClientCommand, ClientEvent, ClientState],
|
||||
CommandEngine.layer[ContractCommand, ContractEvent, ContractState],
|
||||
ClientHandlers.layer,
|
||||
ContractHandlers.layer,
|
||||
ClientReducer.layer,
|
||||
ContractReducer.layer,
|
||||
ClientEventRepositoryInMemory.layer,
|
||||
ContractEventRepositoryInMemory.layer,
|
||||
ClientStateRepositoryInMemory.layer,
|
||||
ContractStateRepositoryInMemory.layer,
|
||||
ClientController.layer,
|
||||
ContractController.layer,
|
||||
PremiumServiceImpl.layer,
|
||||
EmployeeServiceImpl.layer
|
||||
CommandEngine.live[ClientCommand, ClientEvent, ClientState],
|
||||
CommandEngine.live[ContractCommand, ContractEvent, ContractState],
|
||||
ClientHandlers.live,
|
||||
ContractHandlers.live,
|
||||
ClientReducer.live,
|
||||
ContractReducer.live,
|
||||
ClientEventRepositoryInMemory.live,
|
||||
ContractEventRepositoryInMemory.live,
|
||||
ClientStateRepositoryInMemory.live,
|
||||
ContractStateRepositoryInMemory.live,
|
||||
ClientController.live,
|
||||
ContractController.live,
|
||||
PremiumServiceImpl.live,
|
||||
EmployeeServiceImpl.live
|
||||
)
|
||||
end App
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue