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

feat: retrospect, comment 구현 #26

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from
Open

Conversation

ybkang1108
Copy link
Collaborator

@ybkang1108 ybkang1108 commented Feb 10, 2025

- round의 application에 RetrospectService 추가
- RoundMemberRepository 추가
- 회고 삭제
- 개별 회고 조회
- 모든 회고 조회

기능 구현
api명세서에 맞게 response 수정
- RoundController에서 Comment와 Retrospect 분리
- Comment를 save하기 위한 CustomRepository 추가
- 기능 구현
- 댓글 생성, 수정, 삭제, 조회
- 회고 생성, 수정, 삭제, 조회
- service에서 throw CustomException 추가
- controller에 try catch 추가
- 예외처리 구체화 필요..
@cmj7271
Copy link
Collaborator

cmj7271 commented Feb 18, 2025

comment 관련 레포지토리, 서비스, api 를 comment 도메인으로 옮기는 편이 좋을 거 같습니다.
제가 리뷰 마저 하고 반영해서 커밋하겠습니다.

Copy link
Collaborator

@cmj7271 cmj7271 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리뷰 올렸습니다
추가로, repository 는 변동사항 좀 있을거 같아서 유심히 봐주세요

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

요거 제가 노션에 잘못 적은거 같은게, member_id 도 있어야할 거 같아요.
API 명세서에 반영할테니까 수정 부탁드립니다

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

혹시 댓글 작성/수정도 member_id 필요한가요??

- custom repository 제거
- @query를 사용하여 Round Member저장하도록 변경
- allargs -> public, create제거
- comment를 round에서 comment로 이동
- comment dto: response와 request 분리
- comment response에는 member_id 추가
- 사용하지 않는 import제거
- retrospect에서 validate 함수 제거
- json property로 필드값 변경
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.

comment domain api 제작(2/9까지) retrospect domain api 제작(2/9까지)
2 participants