Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.

Conversation

@tlarbals824
Copy link
Member

No description provided.

- `LetterQueryService`와 `LetterCommandService`에서 `UserManagementPort` 삭제.
- `senderName` 기본값 처리 로직 단순화 (`ANONYMOUS_SENDER_NAME` 사용).
- 엔터티(`ReceiveLetterEntity`, `SendLetterEntity`)에서 `senderName`을 `sender?.username` 기반으로 계산하도록 수정.
- 불필요한 변수와 로직 제거로 코드 최적화.
- 회원 및 비회원 발신자에 대한 이름 처리 로직 추가(`LetterQueryService`).
- `UserManagementPort` 의존성 삭제 및 관련 코드 변경.
- 발신자가 익명인 경우 "비회원 발신자"로 이름이 표시되도록 수정.
- 테스트 케이스 추가 및 기존 테스트 로직 최적화.
- `LetterFixture`에 익명 발신자 생성 헬퍼 메서드 추가.
@github-actions
Copy link

github-actions bot commented Jun 8, 2025

Code Coverage Report

Overall Project 90.81% -0.01% 🍏
Files changed 94.12% 🍏

File Coverage
LetterCommandService.kt 100% 🍏
LetterQueryService.kt 100% 🍏
SendLetterEntity.kt 56.1% -0.61% 🍏
ReceiveLetterEntity.kt 45.41% -0.44% 🍏

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 8, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@tlarbals824 tlarbals824 merged commit 2d2ccbe into main Jun 8, 2025
3 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants