-
Notifications
You must be signed in to change notification settings - Fork 4
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
다른 사람의 알림까지 보이는 문제 해결 #773
Conversation
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.
비동기 다루기가 너무 어렵네요 🥲 수고하셨습니다 ㅎㅎ
PostAlarmDetailResponse postAlarmDetailResponse = new PostAlarmDetailResponse(1L, "title", "저문"); | ||
PostAlarmResponse postAlarmResponse = new PostAlarmResponse(1L, postAlarmDetailResponse, | ||
LocalDateTime.now(), false); | ||
|
||
given(alarmQueryService.getPostAlarm(page)).willReturn(List.of(postAlarmResponse)); | ||
given(alarmQueryService.getPostAlarm(page, member)).willReturn(List.of(postAlarmResponse)); |
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.
Q
any
를 사용하지 않은 이유가 있으신가요?!
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.
급하게 변경하느라 생각을 못했네요 변경해보겠습니다!
@@ -46,4 +54,25 @@ private String makeNicknameBy(final Alarm alarm) { | |||
return member.getNickname(); | |||
} | |||
|
|||
@Transactional(readOnly = true) |
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.
P3
QueryService
라 @Transactional
을 다 제거해도 괜찮을 것 같아요 :)
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.
삭제하겠습니다!
🔥 연관 이슈
close: #771
📝 작업 요약
다른 사람의 알림까지 보이는 문제 해결
자신이 작성한 게시글에 자신이 댓글을 다는 경우 알림이 안오도록 수정
루쿠의 신고 알림과 클래스 합치는 작업
⏰ 소요 시간
30분
🔎 작업 상세 설명
없음.
🌟 논의 사항
없음.