RIDDL Specification For improving.app
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

ReservationHandler: Handler

ItemValue
BrieflyBrief description missing.
Definition PathImprovingApp.Events.ReservationContext.Reservation.ReservationHandler
View Source Linkreservation.riddl(13:15)

OnMessageClause command EstablishReservation

Statements

\nmorph entity Reservation to state ImprovingApp.Events.ReservationContext.Reservation.Draft with record ImprovingApp.Events.ReservationContext.Reservation.DraftState"Copy fields from the command into Draft fields""adjust meta fields to reflect the change set"send event ReservationEstablished to outlet ReservationEventsSource.Events\n

On Other

Statements

\nerror "Only EstablishReservation command is allowed in the default state"\n

Used By None

Uses Nothing