-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/68 커뮤니티 댓글 삭제 기능 #73
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
Conversation
| private final CommunityCommentRepository communityCommentRepository; | ||
|
|
||
| @Override | ||
| public void deleteCommunityComment(UUID writerId, Long id) { |
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.
코드가 깔끔하네요
|
고생하셨습니다! |
m-a-king
left a 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.
수고하셨습니다!
| @Override | ||
| public void deleteCommunityComment(UUID writerId, Long id) { | ||
|
|
||
| CommunityComment communityComment = getCommunityBoardById(id); |
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.
| CommunityComment communityComment = getCommunityBoardById(id); | |
| CommunityComment communityComment = getCommunityCommentById(id); |
이게 맞겠죠?
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.
와 감사합니다
수정했습니다!
- getCommunityBoardById -> getCommunityCommentById
leebs0521
left a 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.
고생하셨씁니다~
| } | ||
|
|
||
| private CommunityComment getCommunityBoardById(Long id) { | ||
| return communityCommentRepository.findById(id) |
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.
이것도 getCommunityCommentById() 인 것 같아여
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.
아 이게 위에 있는 내용인 것 같네요
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.
넵 제가 실수했어요..
수정했습니다!
|
* test(community): CommunityComment 삭제 기능 테스트 작성 * test(community): CommunityComment 삭제 Usecase 추가 및 Service 구현 * test(community): CommunityComment 작성자 확인 메서드 및 권한 예외 메세지 추가 * refactor(community): 코드 리뷰 사항 반영 - getCommunityBoardById -> getCommunityCommentById



resolved :
📌 과제 설명
커뮤니티 댓글 삭제 기능
👩💻 요구 사항과 구현 내용
✅ PR 포인트 & 궁금한 점