Refactor: 채팅 시스템 DTO Record 전환 및 패키지 구조 개선 (#77) #87
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.
📌 개요
🔨 작업 내용
DTO Record 전환
RoomChatMessageDto: Builder 패턴 → Record + 정적 팩토리 메서드RoomChatPageResponse: Lombok → Record + 헬퍼 메서드WebSocketSessionInfo: Builder → Record + 상태 변경 메서드패키지 구조 분리
com.back.domain.chat.room.*com.back.domain.chat.private.*컨트롤러 명명 개선
ChatWebSocketController→RoomChatWebSocketControllerChatApiController→RoomChatApiController테스트 코드 수정
🔗 관련 이슈
Closes #77
📝 참고 사항
Record 전환 이유
변경 사항
.getField()→.field()createRequest(),createResponse()등)withRoomId(),withUpdatedActivity()등)추가 수정
WebSocketSessionManager서비스도 Record 메서드에 맞게 수정/api/rooms/**가 현재permitAll()로 설정되어 인증 테스트 일부 비활성화✅ 체크리스트