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

feature: 채팅 구현 #44

Merged
merged 11 commits into from
Nov 13, 2024
Merged

feature: 채팅 구현 #44

merged 11 commits into from
Nov 13, 2024

Conversation

Lee-Dahyeon
Copy link
Collaborator

⚠️ 연관된 이슈 번호 #34

📋 작업 내용

  • 웹소켓 연결
  • 채팅 구현

📷 스크린샷(선택)

💬 리뷰 요구사항

리뷰 부탁드립니다!

- String 255자 기본 length이기에 삭제
- @builder에서 createdAt 파라미터 불필요
- websocket
- stomp
- sendChatMessage 채팅 구현
Comment on lines 24 to 31
Workspace workspace =
workspaceRepository
.findById(chatRoomId)
.orElseThrow(() -> new IllegalArgumentException("유효하지 않은 채팅방 id입니다."));
User user =
userRepository
.findById(userPk)
.orElseThrow(() -> new IllegalArgumentException("유효하지 않은 사용자 id입니다."));
Copy link
Contributor

Choose a reason for hiding this comment

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

저희가 예외처리 할 때 new IllegalArgumentException("유효하지 않은 사용자 id입니다."); 이런 식으로 예외를 생성하지 않는 것 같은데 UserError를 참고해주세요~

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

수정하였습니다!

@Lee-Dahyeon Lee-Dahyeon merged commit d195b76 into develop Nov 13, 2024
2 checks passed
@Lee-Dahyeon Lee-Dahyeon deleted the feature-#34 branch November 13, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: 채팅 구현
2 participants