> dotnet build
Program.cs(47,19): error CS8509: The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern 'Bookings.Unions.StayTooShort' is not covered.
Build FAILED.
    0 Warning(s)
    1 Error(s)

After deleting the WarningsAsErrors line from UnionResult.csproj:

> dotnet build
Program.cs(47,19): warning CS8509: The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern 'Bookings.Unions.StayTooShort' is not covered.
Build succeeded.
    1 Warning(s)
    0 Error(s)

> dotnet run
POST /union/bookings
  free dates                 201 Created
  unknown apartment          404 Not Found {"apartmentId":"99999999-9999-9999-9999-999999999999"}
  dates already taken        409 Conflict {"start":"2026-12-12","end":"2026-12-14"}
  one night, minimum is two  500 Internal Server Error {"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"Internal Server Error","status":500,"detail":"SwitchExpressionException"}
