Clean logging

This commit is contained in:
Paul-Henri Froidmont 2025-10-22 19:22:12 +02:00
parent e6a8150483
commit 25318cd6de
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
2 changed files with 5 additions and 3 deletions

View file

@ -34,8 +34,7 @@ trait CommandHandlerCreate[Command: Schema, Event] extends CommandHandler[Comman
trait CommandHandlerUpdate[Command: Schema, Event, State]
extends CommandHandler[Command, Event, State]:
def onCommand(entityId: String, state: State, command: Command)
: IO[JsonApiError | Throwable, Event]
def onCommand(entityId: String, state: State, command: Command) : IO[JsonApiError | Throwable, Event]
val isCreate = false
val commandSchema = summon[Schema[Command]]