Skip to main content

Leave Command and Query Flow

Summary

Minimal API delegates directly to LeaveCommands or LeaveQueries; MediatR is absent.

Audience

Backend/frontend developers, QA, and new engineers.

Overview

Validation is inline. Request creation adds conflict and calculation work; approval can apply balance usage; domain events map during save. There is no handler bus, pipeline behavior, or MediatR resolution.

Source References

  • microservices/src/leave-service/Api/LeaveEndpoints.cs
  • microservices/src/leave-service/Application/LeaveWorkflows.cs
  • microservices/src/leave-service/Application/Common/Cqrs.cs

See Also

Keywords

  • Leave Service
  • Leave Command and Query Flow
  • Technical architecture

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-15
  • Review cycle: Quarterly