feat(contract) #003 Embedded users as CompactUserDto in comments, ratings, tags and meal plan shares #46

Merged
araemer merged 2 commits from 003-compact-user-in-embedded-dtos-contract into main 2026-10-11 06:16:57 +00:00
Owner

Contract change for spec 003 (#22), approved at GATE A. Docs PR: #45.

Switches four fields from UserDto to CompactUserDto (no email, no role) and updates their JSDoc:

  • CommentDto.createdByUser
  • RatingDto.createdByUser
  • EnrichedTagDto.createdByUser
  • MealPlanShareDto.sharedWithUser

This PR stays open as a draft while the siblings implement it. It is merged at the review gate, just before the sibling feature PRs. The branch is pinned by the siblings (contract.ref) and must not be rebased or force-pushed.

🤖 Generated with Claude Code

Contract change for spec 003 (#22), approved at GATE A. Docs PR: #45. Switches four fields from `UserDto` to `CompactUserDto` (no email, no role) and updates their JSDoc: - `CommentDto.createdByUser` - `RatingDto.createdByUser` - `EnrichedTagDto.createdByUser` - `MealPlanShareDto.sharedWithUser` This PR stays open as a draft while the siblings implement it. It is merged at the review gate, just before the sibling feature PRs. The branch is pinned by the siblings (`contract.ref`) and must not be rebased or force-pushed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
docs(features) #003 Add spec: no email or role of other users in comments, ratings, tags and meal plan shares
All checks were successful
/ typecheck-contract (pull_request) Successful in 20s
2a28fa44e4
Source: recipe-platform#22. Both sibling repos are affected; no new ADR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(contract) #003 Expose comment, rating and tag creators and meal plan share recipients as CompactUserDto
All checks were successful
/ typecheck-contract (pull_request) Successful in 19s
0f2e400699
CommentDto.createdByUser, RatingDto.createdByUser, EnrichedTagDto.createdByUser
and MealPlanShareDto.sharedWithUser no longer carry email and role.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
araemer changed title from WIP: feat(contract) #003 Embedded users as CompactUserDto in comments, ratings, tags and meal plan shares to feat(contract) #003 Embedded users as CompactUserDto in comments, ratings, tags and meal plan shares 2026-10-11 06:15:12 +00:00
Merge branch 'main' into 003-compact-user-in-embedded-dtos-contract
All checks were successful
/ typecheck-contract (pull_request) Successful in 20s
55c02cc9ff
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-platform!46
No description provided.