Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Task API 작성 #33

Closed
binary-ho opened this issue Dec 15, 2023 · 0 comments
Closed

[Feature] Task API 작성 #33

binary-ho opened this issue Dec 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@binary-ho
Copy link
Member

binary-ho commented Dec 15, 2023

⚠️ Issue

Goal API 사이즈가 매우 커 (#32) Task API는 따로 이슈를 작성합니다.
Goal API에 비해 간단한 작업이 될 것으로 생각됩니다. (간단이 아니었다?)

1. Task 생성

  • request
    • goal id
    • description (Task 세부 내용)
  • response

2. 목표 설명 수정

  • request
    • task id
    • newDescription
  • response

3. 목표 수행 여부 수정

  • request
    • task id
    • isDone
  • response

4. 세부 목표 삭제

  • request
    • task id
  • response
@binary-ho binary-ho added the enhancement New feature or request label Dec 15, 2023
egg528 pushed a commit that referenced this issue Dec 16, 2023
* refactor : Task 생성시 isDone이 false일 수 있도록, 정적 팩터리 메서드를 사용해야만 생성 가능하도록 변경 (#33)

* refactor : Task description을 바꾸는 rewrite 구현 (#33)

* refactor : Task 수행 여부를 바꾸는 updateTaskCompletion 구현 (#33)

* feat : Task 생성, description 수정, isDone 수정, 삭제 메서드 구현 (#33)

* test : Task 생성, description 수정, isDone 수정, 삭제 테스트 작성 (#33)

* refactor : GoalService에서 Repositort 반환 객체 사용 제거 (#33)

* test : GoalServiceTest에서 persist 제거 (#33)

* refactor : Request Body가 있는 메서드의 파라미터를 Wrapping (#33)

* feat : Task 생성, description, isDone 변경, 삭제 API 구현 (#33)

* test : Service Method 시그니처 변화에 따른 테스트 코드 수정 (#33)
@binary-ho binary-ho self-assigned this Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant