-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix : 그룹 관련 요청 및 응답 필드 수정 #461
Conversation
...c/main/java/site/timecapsulearchive/core/domain/group/data/response/GroupsSliceResponse.java
Show resolved
Hide resolved
@@ -30,7 +31,7 @@ public class GroupQueryRepositoryImpl implements GroupQueryRepository { | |||
|
|||
private final JPAQueryFactory jpaQueryFactory; | |||
|
|||
public Slice<GroupSummaryDto> findGroupsSlice( | |||
public Slice<FinalGroupSummaryDto> findGroupsSlice( |
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.
이 레포지토리의 로직이 너무 집중되어있는데 서비스에서 해야할 것을 여기서 다해버리는 느낌이는데? 그룹 목록을 위해 순차적으로 조회하고 조립해서 나가는건 서비스 로직 느낌이 드네
@@ -17,7 +18,6 @@ public class MemberGroupQueryRepositoryImpl implements MemberGroupQueryRepositor | |||
|
|||
private final JPAQueryFactory jpaQueryFactory; | |||
|
|||
@Override |
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.
걍 없애도 되니깐 제외한건데, 명시적으로 @OverRide하는게 좋을까?
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.
오케오케 좋은것같아
import java.util.function.Function; | ||
import site.timecapsulearchive.core.domain.group.data.response.GroupSummaryResponse; | ||
|
||
public record FinalGroupSummaryDto( |
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.
Final이 뭐가 final인지 모르겠는디 좀 더 명확한게 좋을듯? 한국어로 말해보면 완벽히 조립된 그룹 정보 이런거라던지
테스트 깨졌는데? 확인 필요할듯 |
작업 내용 (Content)
링크 (Links)
기타 사항 (Etc)
Merge 전 필요 작업 (Checklist before merge)
희망 리뷰 완료 일 (Expected due date)
202X. X. X. Wed