Allow creating a brew when coffee_weight exceeds the bag's remaining amount — remaining is clamped to 0 rather than returning a 409 error. Brews against open bags with 0g remaining also succeed, keeping remaining at 0. Only closed bags are rejected. |
||
|---|---|---|
| .. | ||
| application | ||
| domain | ||
| infrastructure | ||
| presentation | ||
| lib.rs | ||
| main.rs | ||