Closed WSebo closed 6 months ago
https://github.com/kgrzybek/modular-monolith-with-ddd/blob/c21cd3d8b0103e2d5ee946a1b692c028585198d9/src/Modules/Meetings/Infrastructure/Configuration/Processing/InternalCommands/ProcessInternalCommandsCommandHandler.cs#L49
It saves a processed command to db only if it fails, when it is success, it doest not mark it as processed. So when command succeed it does not write it to db, because there is no logic for it.
https://github.com/kgrzybek/modular-monolith-with-ddd/blob/c21cd3d8b0103e2d5ee946a1b692c028585198d9/src/Modules/Meetings/Infrastructure/Configuration/Processing/InternalCommands/ProcessInternalCommandsCommandHandler.cs#L49
It saves a processed command to db only if it fails, when it is success, it doest not mark it as processed. So when command succeed it does not write it to db, because there is no logic for it.