Rename layer to live

This commit is contained in:
Paul-Henri Froidmont 2025-11-04 14:37:21 +01:00
parent 96b3b77b79
commit 49d6b6c8cc
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
15 changed files with 27 additions and 29 deletions

View file

@ -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