Cancel a slot
Canceling a slot is fun! Doing so means we have to do "event-based side effects" like opening it again, as a response to its cancellation.
Just as with checking in and out, we first need to verify and authorize the calling user. Also, again, we have API request validation active.
code/Reservation/Reservation/serverless.yml
In our use case, we will again use the convenience service called SlotLoaderService
, rather than the Reposi
code/Reservation/Reservation/src/application/usecases/CancelSlotUseCase.ts
The pattern should be quite familiar by now.
Last updated