Skip to content

feat: Goal CRUD API 구현#11

Merged
robinjoon merged 3 commits intomainfrom
ticket/#10
Mar 1, 2026
Merged

feat: Goal CRUD API 구현#11
robinjoon merged 3 commits intomainfrom
ticket/#10

Conversation

@robinjoon
Copy link
Copy Markdown
Member

@robinjoon robinjoon commented Mar 1, 2026

Summary

  • 목표 생성/조회/수정/삭제 GraphQL API를 DDD + Clean Architecture 기반으로 구현
  • 인증된 사용자만 접근 가능, 수정/삭제는 본인 목표에 대해서만 허용
  • GoalId를 common/domain에 배치하여 향후 task BC에서도 공유 가능
  • GoalTitle 글자수 제한 제거 (blank 검증만 유지)
  • PR/push 시 미완료 plan.md 차단 훅 추가 (불완전한 계획이 머지되는 것을 방지)

Test plan

  • GoalId VO 단위 테스트 (양수/0/음수 검증)
  • GoalTitle VO 단위 테스트 (빈값/공백/정상)
  • Goal 엔티티 단위 테스트 (생성, 소유자 확인)
  • GoalService 단위 테스트 (생성/조회/수정/삭제 + 권한 검증)
  • ArchitectureTest 통과 확인
  • plan_completion_guard 훅 테스트 7/7 통과

Closes #10

🤖 Generated with Claude Code

robinjoon and others added 3 commits March 1, 2026 21:56
목표 생성/조회/수정/삭제 GraphQL API를 DDD + Clean Architecture 기반으로 구현한다.
인증된 사용자만 접근 가능하며, 수정/삭제는 본인 목표에 대해서만 허용된다.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
GoalTitle VO에서 200자 길이 제한을 제거하고 blank 검증만 유지한다.
graphql-schema-description plan의 미완료 항목을 완료 처리한다.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gh pr create 또는 git push 실행 전 docs/plan/**/plan.md에
미완료 항목이 있으면 차단하여, 불완전한 계획이 머지되는 것을 방지한다.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@robinjoon robinjoon merged commit 9d28048 into main Mar 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Goal CRUD API 구현

1 participant