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

다른 사람의 알림까지 보이는 문제 해결 #773

Merged
merged 8 commits into from
Oct 18, 2023
Merged

Conversation

jeomxon
Copy link
Collaborator

@jeomxon jeomxon commented Oct 18, 2023

🔥 연관 이슈

close: #771

📝 작업 요약

다른 사람의 알림까지 보이는 문제 해결
자신이 작성한 게시글에 자신이 댓글을 다는 경우 알림이 안오도록 수정
루쿠의 신고 알림과 클래스 합치는 작업

⏰ 소요 시간

30분

🔎 작업 상세 설명

없음.

🌟 논의 사항

없음.

@jeomxon jeomxon added this to the 6차 데모데이 milestone Oct 18, 2023
@jeomxon jeomxon self-assigned this Oct 18, 2023
@jeomxon jeomxon changed the title [BUG] 다른 사람의 알림까지 보이는 문제 다른 사람의 알림까지 보이는 문제 해결 Oct 18, 2023
@github-actions
Copy link

github-actions bot commented Oct 18, 2023

Test Results

440 tests   440 ✔️  31s ⏱️
141 suites      0 💤
141 files        0

Results for commit 112ef29.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@aiaiaiai1 aiaiaiai1 left a comment

Choose a reason for hiding this comment

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

👍 👍 감사합나디!

Copy link
Collaborator

@tjdtls690 tjdtls690 left a comment

Choose a reason for hiding this comment

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

버그 고치느라 고생하셨습니다!

Copy link
Collaborator

@woo-chang woo-chang left a 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));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Q
any를 사용하지 않은 이유가 있으신가요?!

Copy link
Collaborator Author

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

Choose a reason for hiding this comment

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

P3
QueryService@Transactional을 다 제거해도 괜찮을 것 같아요 :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

삭제하겠습니다!

@jeomxon jeomxon merged commit 5364500 into dev Oct 18, 2023
1 check passed
@jeomxon jeomxon deleted the feat/#771 branch October 18, 2023 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] 다른 사람의 알림까지 보이는 문제
4 participants