-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/78 커뮤니티 댓글 조회 기능 #108
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
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.
고생하셨습니다~
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.
수고하셨습니다! 제 코드가 왜 섞인 걸까요??
댓글, 대댓글 구조는 오랜만에 코딩 테스트 문제를 본 느낌이네요...
DFS, 위상 정렬이 생각났습니다.
src/main/java/com/somemore/community/service/comment/DeleteCommunityCommentService.java
Outdated
Show resolved
Hide resolved
src/main/java/com/somemore/community/dto/response/CommunityCommentResponseDto.java
Show resolved
Hide resolved
src/main/java/com/somemore/community/repository/comment/CommunityCommentRepositoryImpl.java
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.
쉽지 않네요... 한참 이해해 봤는데, 삭제 때문에 복잡해진 것 같아요. 수고하셨습니다.
src/test/java/com/somemore/community/service/comment/CommunityCommentQueryServiceTest.java
Outdated
Show resolved
Hide resolved
- 기존 댓글 내용 -> "삭제된 댓글입니다"
- View 생성자 제거
- isDeleted 메서드 추가
- test isEqual("") -> isEmpty()
- Boolean -> boolean
- markAsDeleted 메서드 내에서 content 내용 변경 - 개행 추가
61838f4 to
7152613
Compare
…project/WEB1_1_Bongdari_BE into feature/78-add-community-comment-query
|



resolved :
👩💻 요구 사항과 구현 내용
댓글조회
✅ PR 포인트 & 궁금한 점
댓글-대댓글 구조로 조회를 처음 해봐서 service 쪽을 집중적으로 봐주셨으면 합니다..