Expose recipeAmountDescription in MealPlanDayDishDto #5

Merged
araemer merged 1 commit from meal-plan-dish-amount-description into stage 2026-08-15 05:40:13 +00:00
Owner

Summary

  • Adds recipeAmountDescription as a read-only response field on MealPlanDayDishDto
  • Mapped from entity.recipe?.amountDescription in MealPlanDayDishDtoEntityMapper.toDto()
  • No entity or migration changes required — amountDescription already exists on RecipeEntity

Test plan

  • Updated MealPlanDayDishDtoEntityMapper.test.ts: existing toDto test now asserts recipeAmountDescription; added test for the undefined case when the recipe has no amount description
  • All 7 mapper tests pass
## Summary - Adds `recipeAmountDescription` as a read-only response field on `MealPlanDayDishDto` - Mapped from `entity.recipe?.amountDescription` in `MealPlanDayDishDtoEntityMapper.toDto()` - No entity or migration changes required — `amountDescription` already exists on `RecipeEntity` ## Test plan - [x] Updated `MealPlanDayDishDtoEntityMapper.test.ts`: existing `toDto` test now asserts `recipeAmountDescription`; added test for the `undefined` case when the recipe has no amount description - [x] All 7 mapper tests pass
feat(mealPlan) Expose recipeAmountDescription in MealPlanDayDishDto
All checks were successful
/ test (pull_request) Successful in 29s
5faec044a1
Add recipeAmountDescription as a read-only response field on
MealPlanDayDishDto, mapped from the recipe relation in the dish mapper.
No entity or migration changes required — the column already exists on
RecipeEntity.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
araemer merged commit 0d139391ce into stage 2026-08-15 05:40:13 +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!5
No description provided.