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

[feat] domain module 세팅, matching profile entity 설정 #33

Merged
merged 17 commits into from
Feb 6, 2024

Conversation

murjune
Copy link
Member

@murjune murjune commented Feb 4, 2024

관련 이슈

  • closed #이슈넘버

작업한 내용

  • domain module 세팅
  • Entity : �Blood, Club, Job, Mbti, SubwayStation, SubwayLine, Recommend, Chemistry, Profile, Matching
  • Usecase : MatchProfileUseCase
  • Repository : MatchingRepository

PR 포인트

Job, Club의 경우에만 companion object로 of 팩토리 함수를 만들었습니다. 나머지 Blood, Mbti 같은 경우는 valueOf로 충분히 대체 가능하기 떄문이에요! 따라서, Job과 Club만 testCode를 작성했습니다.
추가적으로 보통 test코드는 given/when/then 기법을 사용하지만, 1~2줄 정도로 테스트가 가능한 경우에는 생략해도 괜찮다고 생각해서 아래와 같이 작성했습니다 ~ 😸

추가적으로, 보통 usecase도 테스트 코드로 작성하지만 of라는 네이밍을 갖는 함수가 보통 팩토리 함수로 많이 사용되기 때문에 �예외케이스만 작성하였습니다

image

@Nexters/funch-aos 추가적으로 제가 지금 스키장이라 화요일 저녁까지는 답을 잘 못할 수도 있습니다..

🚀Next Feature

  • Matching Presentation 작업
  • Matching data 작업

@murjune murjune added the june🙇‍♂️ New feature or request label Feb 4, 2024
@murjune murjune requested a review from a team February 4, 2024 16:54
@murjune murjune self-assigned this Feb 4, 2024
Copy link
Collaborator

@ham2174 ham2174 left a comment

Choose a reason for hiding this comment

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

굳~! 몇가지 추가될 부분과 수정할 사항이 필요해 보여서 코멘트 한번 확인 바람!!

.github/pull_request_template.md Show resolved Hide resolved
val lines: List<SubwayLine> = emptyList(),
)

enum class SubwayLine {
Copy link
Collaborator

Choose a reason for hiding this comment

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

지하철 라인이 피그마에서 23개입니다!

  • 미포함 라인 : 인천1호선, 인천2호선, 의정부, 우이신설, 김포골드, 신림, 경강, 서해

Copy link
Member Author

Choose a reason for hiding this comment

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

이 부분 서버랑 네이밍 맞추면 좋을 거 같아서 일단 보류해 둘게유~
서버 enum 긁어온건디 지하철 api 아직 구현 전인거 같넹

@murjune murjune merged commit d3d1068 into develop Feb 6, 2024
1 check passed
@murjune murjune deleted the feature/matching-domain branch February 6, 2024 10:37
@murjune murjune restored the feature/matching-domain branch February 6, 2024 10:38
@murjune murjune deleted the feature/matching-domain branch February 6, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
june🙇‍♂️ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants