-
Notifications
You must be signed in to change notification settings - Fork 3
[refactor] convertAndSend 계층 변경 #87
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
Conversation
silver-eunjoo
left a comment
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.
확인했습니다 ! 감사합니다 ! :)
LimKangHyun
left a comment
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.
고생하셨습니다! 웹소켓의 마스터로 가는길... 험난하군요🧙♂️
jiwon1217
left a comment
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.
고생하셨습니다 !
| messageSender.send( | ||
| destination, | ||
| MessageType.SYSTEM_NOTICE, | ||
| ofPlayerEvent(chatMessage.nickname(), RoomEventType.ENTER)); |
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.
[L3-중요질문]
플레이어가 보낸 채팅이 정답이었을 경우에 RoomEventType.ENTER를 전송하는 것은 아직 정답에 대한 EventType이 정의되어 있지 않아서일까요?
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.
넵 맞습니다. 현재 은주님이 추가해놓고 변경 후 작업중이신걸로 알고있습니다.
# Conflicts: # backend/src/main/java/io/f1/backend/domain/game/websocket/GameSocketController.java
🛰️ Issue Number
🪐 작업 내용
convertAndSend로 응답을 내려주는건 서비스 레이어 책임(메시지 발송이기때문에 SRP에 따라서 서비스가 담당)
data로 명명되었던DTO도 삭제gameStart부분 리팩토링 하시면GameSocketController에서todo로 표해둔messageSender와getDestination삭제 부탁드립니다!📚 Reference
✅ Check List