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

모임 도메인 코드 리팩터링 #542

Merged
merged 48 commits into from
Sep 24, 2024
Merged

Conversation

pricelees
Copy link
Contributor

PR의 목적이 무엇인가요?

모임 도메인에 있는 코드를 리팩터링 했습니다.

이슈 ID는 무엇인가요?

설명

  • 모임과 관련된 기능(모임, 참여, 찜, 댓글, 채팅) 코드 구조를 수정한다.

질문 혹은 공유 사항 (Optional)

저희는 이번 리팩터링을 진행할 때 아래 방향으로 진행했어요.

  1. Service에서 Validator를 사용하지 않는 방법으로 구현했어요. 검증은 Finder나 Writer의 역할이라고 생각했습니다.

  2. 객체는 service에서 조회한다. Writer에는 long id가 아닌 객체를 넣는다.

추가적으로, implement에 있는 코드간의 의존성에 대해 고민해봐야 할 것 같아요. (예를 들어 Finder, Writer에서 Validator를 쓴다. Validator에서는 Finder, Writer를 쓰지 않는다와 같은..)

일단 간단한 개요만 적어둘 테니(나아연 아님), 자세한 얘기는 댓글에서 하면 좋을 것 같습니다.

ay-eonii and others added 30 commits August 23, 2024 13:23
Copy link
Contributor

@ksk0605 ksk0605 left a comment

Choose a reason for hiding this comment

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

고생하셨어요!

Copy link
Contributor

@Mingyum-Kim Mingyum-Kim left a comment

Choose a reason for hiding this comment

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



하셨어요

@ay-eonii ay-eonii merged commit 8e86974 into develop-backend Sep 24, 2024
1 check passed
@ay-eonii ay-eonii deleted the refactor/#525 branch September 24, 2024 08:29
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.

4 participants