Skip to content
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

♻️ refactor: mailService 내 강결합 제거 #337

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

asn6878
Copy link
Member

@asn6878 asn6878 commented Mar 11, 2025

작업 이유

회원 가입에 이메일 인증이 필요하나, 기존 이메일 모듈 코드가 사용하기 용이한 형태가 아님에 따른 리팩토링 필요성 대두.

📋 작업 내용

EmailService 내 강결합을 제거

기존 EmailServicesendMail 메소드와 createEmailRSS 등록 여부 응답 메일을 발송하는 로직과 강하게 결합되어 있습니다.

이는 메일 발송이 필요한 다른 기능을 추가 구현하기에 적합하지 않은 형태이기에 메일을 보내는 부분과 RSS 등록 여부 응답 메일을 생성하는 부분을 분리하였습니다.

@asn6878 asn6878 added the 🔨 Refactor 리팩토링 (구조 변경) label Mar 11, 2025
@asn6878 asn6878 self-assigned this Mar 11, 2025
Copy link
Collaborator

@CodeVac513 CodeVac513 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Collaborator

@Jo-Minseok Jo-Minseok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@asn6878 asn6878 merged commit 3a9fb90 into main Mar 12, 2025
2 checks passed
@Jo-Minseok Jo-Minseok deleted the refactor/email-service-coupling branch March 12, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 Refactor 리팩토링 (구조 변경)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants