-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: develop
Are you sure you want to change the base?
Conversation
ybkang1108
commented
Feb 10, 2025
•
edited
Loading
edited
- retrospect 작성, 수정, 조회, 삭제 구현 closes retrospect domain api 제작(2/9까지) #21
- comment 작성, 수정, 조회, 삭제 구현 closes comment domain api 제작(2/9까지) #22
- round의 application에 RetrospectService 추가 - RoundMemberRepository 추가
- 회고 삭제 - 개별 회고 조회 - 모든 회고 조회 기능 구현
api명세서에 맞게 response 수정
- RoundController에서 Comment와 Retrospect 분리 - Comment를 save하기 위한 CustomRepository 추가 - 기능 구현
- 댓글 생성, 수정, 삭제, 조회 - 회고 생성, 수정, 삭제, 조회
- service에서 throw CustomException 추가 - controller에 try catch 추가 - 예외처리 구체화 필요..
comment 관련 레포지토리, 서비스, api 를 comment 도메인으로 옮기는 편이 좋을 거 같습니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
리뷰 올렸습니다
추가로, repository 는 변동사항 좀 있을거 같아서 유심히 봐주세요
src/main/java/com/gdgoc/study_group/comment/domain/Comment.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gdgoc/study_group/comment/domain/Comment.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gdgoc/study_group/round/api/CommentController.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요거 제가 노션에 잘못 적은거 같은게, member_id 도 있어야할 거 같아요.
API 명세서에 반영할테니까 수정 부탁드립니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
혹시 댓글 작성/수정도 member_id 필요한가요??
src/main/java/com/gdgoc/study_group/roundMember/domain/RoundMember.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gdgoc/study_group/roundMember/domain/RoundMember.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gdgoc/study_group/round/api/RetrospectController.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gdgoc/study_group/round/dao/RoundCustomRepository.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gdgoc/study_group/round/dao/RoundCustomRepositoryImpl.java
Outdated
Show resolved
Hide resolved
- custom repository 제거 - @query를 사용하여 Round Member저장하도록 변경
- allargs -> public, create제거 - comment를 round에서 comment로 이동 - comment dto: response와 request 분리 - comment response에는 member_id 추가
- 사용하지 않는 import제거 - retrospect에서 validate 함수 제거 - json property로 필드값 변경