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

Conversation

@tlarbals824
Copy link
Member

  • UserController.registerUser에 비회원 편지 코드 처리 로직 추가: addAnonymousLetter 메서드를 호출하여 편지와 유저를 연결.
  • RegisterUserRequest DTO에 anonymousSendLetterCode 필드 추가.
  • AddLetterUsecase에 익명 편지를 사용자의 편지로 추가하는 addAnonymousLetter 메서드 및 관련 커맨드 추가.
  • SendLetter 엔터티에 configSendId 메서드 추가: 발신자 ID 설정 및 검증.
  • 관련 테스트 코드 추가 및 업데이트: 비회원 코드 처리 케이스 통합 테스트 포함.

- `UserController.registerUser`에 비회원 편지 코드 처리 로직 추가: `addAnonymousLetter` 메서드를 호출하여 편지와 유저를 연결.
- `RegisterUserRequest` DTO에 `anonymousSendLetterCode` 필드 추가.
- `AddLetterUsecase`에 익명 편지를 사용자의 편지로 추가하는 `addAnonymousLetter` 메서드 및 관련 커맨드 추가.
- `SendLetter` 엔터티에 `configSendId` 메서드 추가: 발신자 ID 설정 및 검증.
- 관련 테스트 코드 추가 및 업데이트: 비회원 코드 처리 케이스 통합 테스트 포함.
@tlarbals824 tlarbals824 self-assigned this May 18, 2025
@github-actions
Copy link

Code Coverage Report

Overall Project 90.76% -0.08% 🍏
Files changed 90.32% 🍏

File Coverage
AddLetterUsecase.kt 100% 🍏
RegisterUserRequest.kt 100% 🍏
RegisterUserUsecase.kt 100% 🍏
LetterCommandService.kt 99.58% 🍏
UserController.kt 94.12% 🍏
UserCommandService.kt 89.66% 🍏
SendLetter.kt 88.6% -4.27% 🍏

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@tlarbals824 tlarbals824 merged commit 9c43dcf into main May 18, 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