Skip to content

fix(#356): 약관기능 유저 모듈로 이동 및 알림 모듈 생성#358

Open
TAEW00KIM wants to merge 1 commit intoVitaCheck:developfrom
TAEW00KIM:refactor/#356-move-terms-and-notification-module
Open

fix(#356): 약관기능 유저 모듈로 이동 및 알림 모듈 생성#358
TAEW00KIM wants to merge 1 commit intoVitaCheck:developfrom
TAEW00KIM:refactor/#356-move-terms-and-notification-module

Conversation

@TAEW00KIM
Copy link
Contributor

Close #356

📝 작업 내용

약관 기능을 유저 모듈로 이동
알림 모듈 생성

✅ 변경 사항

  • terms 및 관련 파일들 module-user로 이동
  • module-notification 생성

💬 리뷰어에게

알림 기능 테스트 필요

@TAEW00KIM TAEW00KIM self-assigned this Oct 2, 2025
Copy link
Contributor

@ParkJiYeoung8297 ParkJiYeoung8297 left a comment

Choose a reason for hiding this comment

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

다시 수정 필요 ! merge 안됨 ❌
코멘트 적어둔거 참고해주세요!

dependencies {
implementation project(":module-common")
implementation project(":module-user")
implementation project(":module-product")
Copy link
Contributor

Choose a reason for hiding this comment

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

user, product까지 다 implementation 할거면, 사실상 notification 모듈을 분리하는 의미가 없어요.
모듈 분리라는게, implementation (의존 관계)를 끊어놓으려고 하는 거라,
만약 notification을 분리하고 싶다면, user랑 product는 implementation하지 않는 방법을 찾아야 해요.

그 방법 중 하나가 port-adapter 패턴이에요.
예를 들어 notification이 유저 정보를 가져오고 싶다면, user모듈이 아닌 common모듈에 의존해서 정보를 가져오게 해야해요. (이게 회원이랑 인증 모듈 분리할 때, 말했던 방법!)

Copy link
Contributor

Choose a reason for hiding this comment

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

모듈을 추가할때, build 폴더는 gitigonre에 추가해서 깃에 올라가지 않게 해주세요!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REFACTOR] 약관 관련 기능 유저 모듈로 이동

2 participants