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

[BE-REFACTOR] 배틀 기능 MongoDB 사용하도록 리팩토링 #338

Merged
merged 34 commits into from
Oct 11, 2024

Conversation

jongmee
Copy link
Contributor

@jongmee jongmee commented Sep 25, 2024

🍄 PR 확인 사항

PR이 다음 요구 사항을 충족하는지 확인하세요. :

  • API 명세서가 업데이트 혹은 작성이 되어 있나요?

현재 작업은 어떤 이슈를 해결한 것인지 설명해주세요.

Issue Number: #331

기존 코드에서 변경된 점이 있다면 설명해주세요. (추가 X)

  • 있음
  • 없음

이 부분을 위주로 봐주세요!

이 PR은 앞선 PR들 머지되고 충돌 해결 후 머지할 예정입니다. 코드 리뷰 때문에 미리 올려요~!
배틀 패키지에서 패키지 분리가 된 클래스들 위주로 리뷰해주시면 됩니다 😄 + 테스트코드

고민사항

  1. 현재 구조에서 도메인 패키지가 없어서 BattleMultiplier를 그냥 서비스 패키지에 넣었는데 고민됩니다..
    도메인 패키지를 만드는게 좋을까요?
  2. TypeMultiplierProvider 이름 괜찮나요?? TypeBattingMultiplierProvider가 나을까요?
    고민하다가 둘 다 그저 그래서 의견을 받고 싶습니다 😅

@jongmee jongmee added the BE_REFACTOR 🌿 백엔드 리팩토링 label Sep 25, 2024
@jongmee jongmee self-assigned this Sep 25, 2024
Copy link
Contributor

@jinchiim jinchiim 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

@unifolio0 unifolio0 left a comment

Choose a reason for hiding this comment

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

짚을 만한 건 이미 폴라가 다 짚어서 approve합니다!

구현 수고하셨습니다!

@jongmee
Copy link
Contributor Author

jongmee commented Sep 26, 2024

/noti @폴라 리뷰 반영 및 코멘트 달았습니당!

Copy link
Contributor

@jinchiim jinchiim left a comment

Choose a reason for hiding this comment

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

리뷰 반영 고생하셨습니다!!

반영해주신 부분에 의견 두가지 달았는데 소소한거라 RC 보다는 읽고 반영해주시면 될 것 같아요!
어푸룹 하겠습니다! ☺️

Copy link

@dwax1324 dwax1324 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다👍
코드가 꼼꼼하네요

저는 계산 기능은 서비스보다 도메인에 있는게 자연스럽다고 생각해요
서비스 계층에 있기엔 비즈니스로직은 아니고 하나의 도메인으로 분리 될만큼 코어한 기능이라고 생각합니다.

@jongmee
Copy link
Contributor Author

jongmee commented Sep 26, 2024

/noti

@종이 : 모두 반영 및 코멘트 남겼습니다!
@everyone : 날씨배수조건문에 대한 코멘트에 대해서 어떻게 생각하시나요?

@jongmee jongmee force-pushed the be/refactor/#331-refactor-battle-api branch from e1ad0b3 to ee8ff8e Compare October 11, 2024 06:45
@jongmee jongmee merged commit 4c58a9b into be/develop Oct 11, 2024
1 check passed
@jongmee jongmee deleted the be/refactor/#331-refactor-battle-api branch October 11, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE_REFACTOR 🌿 백엔드 리팩토링
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants