Skip to content

Conversation

@strfunctionk
Copy link
Member

No description provided.

Copy link
Collaborator

@yujin9907 yujin9907 left a comment

Choose a reason for hiding this comment

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

6주차 내용에 더하여, fetchjoin 대신 transform, join, 프로젝션을 사용하여 n+1과 페이지네이션 문제까지 깔끔하게 작성된 코드 같습니다. 코드에 적용된 다양한 매핑 방식 중, MapStruct는 아직 안 써본 매핑 전략인데 이번에 공부해보겠슴니다.
서비스 계층에서 BooleanBuilder로 동적 쿼리 조건을 만들고, 리포지토리는 Predicate를 받아 DTO로 쿼리를 실행하는 역할로 깔끔하게 나눠 작성된 것 같습니다.
저는 필요 시 커멘드라인러너를 주로 사용했는데, 이번 주차 더미데이터 생성 방식도 깔끔한 거 같습니다. 참고하겠습니다~

고생 많으셨습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants