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

EventReservationViewHandler: Handler

ItemValue
BrieflyBrief description missing.
Definition PathImprovingApp.EventReservationProjections.EventReservationView.EventReservationViewHandler
View Source LinkeventReservationProjections.riddl(14:13)

OnMessageClause event EventScheduled

Statements

\n"find or create rows with eventId set to EventScheduled.eventId"\n

OnMessageClause event ReservationEstablished

Statements

\n"create rows with reservation set to ReservationEstablished.reservationId and location set to EstablishReservation.info.location"\n

OnMessageClause event ReservationInfoUpdated

Statements

\n"find rows with reservation set to ReservationInfoUpdated.reservationId""set rows' location to ReservationInfoUpdated.info.location"\n

OnMessageClause query GetLocationForEvent

Statements

\n"filter by GetLocationForEvent.event equals event - return EventNotFound if empty""if head of list has no reservation, return NoReservationForEvent""if head of list has no location, return NoLocationForEventReservation""otherwise return LocationForEvent with head of list's location and event"\n

Used By None

Uses Nothing