Skip to content

[Feat] 토닥이 채팅 domain layer 구성 - #82

Open
oungsi2000 wants to merge 7 commits into
feat/59-todak-chatfrom
feat/73-chat-usecase
Open

[Feat] 토닥이 채팅 domain layer 구성#82
oungsi2000 wants to merge 7 commits into
feat/59-todak-chatfrom
feat/73-chat-usecase

Conversation

@oungsi2000

@oungsi2000 oungsi2000 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

관련 이슈

#72
#73

작업 내용

  • 토닥이 채팅 관련 도메인 모델 및 repository 인터페이스를 추가했습니다
  • 관련 UseCase를 추가했습니다
  • 별개의 이슈로 나누었다가 하나로 합쳐도 될 것 같아 일단 한꺼번에 올립니다.

변경사항 / 상세

  • SSE 관련 도메인은 서버 레포를 참조하여 작성하였습니다

중점 리뷰사항

  • UseCase, Repository에 누락된 부분은 없는지

스크린샷 (선택)

oungsi2000 and others added 3 commits August 5, 2026 01:29
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
ChatStreamException을 제거하고 ChatStreamEvent의 하위 타입으로 Error를 추가한다.
스트림 처리 중 발생하는 에러를 별도 예외(Exception) 대신 이벤트의 일부로 포함하여 명시적으로 관리한다.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@oungsi2000
oungsi2000 requested a review from Moony-H August 4, 2026 17:06
@oungsi2000 oungsi2000 self-assigned this Aug 4, 2026
@oungsi2000 oungsi2000 added the feature 새로운 기능 추가 label Aug 4, 2026
@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: dd619a99-3728-492e-b944-df8d69ce969a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

`SendChatMessageUseCaseTest`의 `runTest` 블록 들여쓰기와 줄바꿈을 일관되게 수정하고, `ChatStreamEvent`에 trailing comma를 추가하여 스타일 가이드를 준수한다.
`FakeChatRepository`에서 단순 failure를 반환하는 메서드들을 단일 행으로 정리하여 가독성을 높인다.
@oungsi2000
oungsi2000 marked this pull request as draft August 4, 2026 18:10
@oungsi2000
oungsi2000 removed the request for review from Moony-H August 4, 2026 18:13
@oungsi2000
oungsi2000 marked this pull request as ready for review August 4, 2026 18:13
@oungsi2000
oungsi2000 requested a review from Moony-H August 4, 2026 18:13
Error 데이터 클래스가 ChatStreamEvent를 상속하도록 수정하여
채팅 스트림 이벤트 처리 시 타입 일관성을 유지하고 에러 상태를 정상적으로 포함할 수 있도록 한다.
카테고리 정보가 없는 채팅 엔트리를 지원하기 위해 `category` 타입을 String?로 변경한다.
기존 String 타입이었던 category를 ChatCategory Enum으로 변경하여 타입 안정성을 확보한다.
카테고리는 RELATIONSHIP, LOVE, ACHIEVEMENT, MONEY, HEALTH의 5가지 항목으로 정의한다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature 새로운 기능 추가

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant