-
Notifications
You must be signed in to change notification settings - Fork 7
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
템플릿 단건 조회/ 템플릿 삭제/ 태그 조회 성능 개선 #704
템플릿 단건 조회/ 템플릿 삭제/ 태그 조회 성능 개선 #704
Conversation
…://github.com/woowacourse-teams/2024-code-zap into refactor/673-performance-template-find-delete
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.
간단한 코멘트 남겼습니다~~
한 번만 검토 후 승인하면 될 것 같아요!
backend/src/main/java/codezap/tag/repository/TemplateTagJpaRepository.java
Outdated
Show resolved
Hide resolved
@Query(""" | ||
SELECT t.id | ||
FROM Template t | ||
WHERE t.member.id = :memberId | ||
""") | ||
List<Long> findAllIdsByMemberId(Long memberId); | ||
|
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.
이 메서드 사용되는 곳이 없는 것 같은걸요~!!
backend/src/main/java/codezap/template/repository/TemplateRepository.java
Outdated
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.
고생하셨습니다 켬미
켬미 없었으면 코드잽 어쩔 뻔했어~~~~~👍
@@ -29,6 +30,6 @@ public class Likes extends BaseTimeEntity { | |||
@ManyToOne(optional = false) |
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.
나도 의문... ㅎㅎㅎㅎㅎㅎㅎ
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.
헉스... 다음 스프린트에 반드시 적용해야겠습니다
return templateTagRepository.findAllTagsByTemplate(template) | ||
.stream() |
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.
return templateTagRepository.findAllTagsByTemplate(template) | |
.stream() | |
return templateTagRepository.findAllTagsByTemplate(template); |
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.
켬미~~
성능 개선부터 문서화까지 고생 많으셨습니다~~
backend/src/main/java/codezap/tag/repository/TemplateTagJpaRepository.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.
최고에요~
@@ -29,6 +30,6 @@ public class Likes extends BaseTimeEntity { | |||
@ManyToOne(optional = false) |
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.
굿
379e913
⚡️ 관련 이슈
close #673
📍주요 변경 사항
🎸기타