-
Notifications
You must be signed in to change notification settings - Fork 0
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
[BE] 알림 목록 조회, 상대 프로필, 채팅 요청 수정(#98) #103
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 알림 응답에 공통으로 포함되는 데이터 정의 - 해당 클래스를 상속 받아 부가적인 데이터를 포함한 알림 응답 DTO 구현
채팅 요청 알림의 경우 채팅을 요청한 사용자와의 채팅 가능 여부 포함
- 알림의 종류에 따라 응답의 형태가 달라짐 - 비즈니스 로직에서 알림 유형을 확인하여 적절한 DTO로 엔티티를 매핑하도록 로직 추가
- 채팅이 가능한 사용자에게만 요청할 수 있으므로 채팅 가능 여부 삭제 - 알림 ID 응답에 포함
타입에 따라 알맞은 응답 데이터를 제공하도록 매핑 로직 수정
- 채팅 수락 알림을 통해 채팅방을 접근할 수 있어야함 - 응답 데이터에 채팅방 ID 포함
- 다른 사용자 프로필 조회시 조회하는 사용자, 조회되는 사용자간 채팅방 존재 여부 확인 - 채팅방이 존재할 경우 채팅이 불가능, 존재하지 않을 경우 채팅 가능
acceptor-gyu
approved these changes
May 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
작업 대상
📄 작업 내용
🙋🏻 주의 사항
📎 관련 이슈
레퍼런스