feat(compactRecipe) Expose amount and amountDescription in CompactRecipeDto #6

Merged
araemer merged 1 commit from compact-recipe-amount into stage 2026-08-15 05:40:42 +00:00
Owner

Summary

  • Adds amount and amountDescription fields to CompactRecipeDto so the frontend can pre-fill the default quantity when adding a dish to the meal plan
  • Maps both fields from CompactRecipeProjection in CompactRecipeDtoEntityMapper.toDto()
  • Adds two mapper tests covering the present and absent cases for both fields

No migration needed — both columns already exist on the recipe table.

Test plan

  • CompactRecipeDtoEntityMapper unit tests pass (npm test)
  • Verify frontend receives amount / amountDescription on the compact recipe list response

🤖 Generated with Claude Code

## Summary - Adds `amount` and `amountDescription` fields to `CompactRecipeDto` so the frontend can pre-fill the default quantity when adding a dish to the meal plan - Maps both fields from `CompactRecipeProjection` in `CompactRecipeDtoEntityMapper.toDto()` - Adds two mapper tests covering the present and absent cases for both fields No migration needed — both columns already exist on the `recipe` table. ## Test plan - [x] `CompactRecipeDtoEntityMapper` unit tests pass (`npm test`) - [ ] Verify frontend receives `amount` / `amountDescription` on the compact recipe list response 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(compactRecipe) Expose amount and amountDescription in CompactRecipeDto
All checks were successful
/ test (pull_request) Successful in 29s
88466eeef6
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
araemer merged commit 062a06f012 into stage 2026-08-15 05:40:42 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
araemer/recipe-backend!6
No description provided.