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

fix : 그룹 관련 요청 및 응답 필드 수정 #461

Closed
wants to merge 4 commits into from

Conversation

GaBaljaintheroom
Copy link
Collaborator

@GaBaljaintheroom GaBaljaintheroom commented May 31, 2024

작업 내용 (Content)

  • 그룹 목록 조회 수정
  • 그룹 캡슐 생성 수정
  • transactionTemplate 일관성 있게 람다로 통일

링크 (Links)

기타 사항 (Etc)

  • 그룹 관련이라 쿼리가 많이 나감....
  • 그룹 목록 조회 : description 빼고 아무나 맴버 1명 프로필사진 + 그룹원 수 인데, 멤버는 그룹장으로 함

Merge 전 필요 작업 (Checklist before merge)

희망 리뷰 완료 일 (Expected due date)

202X. X. X. Wed

@@ -30,7 +31,7 @@ public class GroupQueryRepositoryImpl implements GroupQueryRepository {

private final JPAQueryFactory jpaQueryFactory;

public Slice<GroupSummaryDto> findGroupsSlice(
public Slice<FinalGroupSummaryDto> findGroupsSlice(
Copy link
Collaborator

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
Copy link
Collaborator

Choose a reason for hiding this comment

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

오버라이드 표기 안하는 이유가 있엉?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

걍 없애도 되니깐 제외한건데, 명시적으로 @OverRide하는게 좋을까?

Copy link
Collaborator

Choose a reason for hiding this comment

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

난 명확해서 더 보기 편하다고 생각헀는데 어떻게 생각해?

Copy link
Collaborator Author

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(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Final이 뭐가 final인지 모르겠는디 좀 더 명확한게 좋을듯? 한국어로 말해보면 완벽히 조립된 그룹 정보 이런거라던지

@seokho-1116
Copy link
Collaborator

테스트 깨졌는데? 확인 필요할듯

@seokho-1116 seokho-1116 added the api fix api 수정 요청 label Jun 1, 2024
@seokho-1116 seokho-1116 deleted the fix/group_response-B-#459 branch June 20, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api fix api 수정 요청
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants