-
Notifications
You must be signed in to change notification settings - Fork 0
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] Biome, Move 정보 MongoDB 사용하도록 리팩토링 #335
Conversation
/noti ci까지 통과했습니다! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!!! 👍 최고!!! 리뷰 좀 남겨봤어요 🕊️
(포켓몬 패키지가 좀 변경되었던데 종이 작업에서 충돌날까봐 살짝 걱정되네요 🥺)
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/data/BiomePokemonType.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/service/BiomeService.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/data/NativePokemon.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/service/BiomeService.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/service/BiomeService.java
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/move/controller/MoveController.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/move/service/MoveService.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/move/service/MoveService.java
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/pokemon/dto/PokemonMoveResponse.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/test/java/com/pokerogue/helper/battle/BattleServiceTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
안녕하세요 비토! 수고 많으셨습니다!
리팩토링도 함께 가져가기로 했으니 보이는 부분 전부 리뷰해봤어요!
확인 부탁드려요!
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/data/Biome.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/data/BiomePokemonType.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/data/NativePokemon.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/data/BiomePokemonType.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/data/NextBiome.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/move/service/MoveService.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/move/service/MoveService.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/service/BiomeService.java
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/move/service/MoveService.java
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/move/service/MoveService.java
Show resolved
Hide resolved
…4-pokerogue-helper into be/refactor/#332-biome-move-mongo
787902d
to
c52c55c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
비토 고생하셨습니다!! 리뷰 아주 조금 달았어요 ㅎㅎ..
public class NativePokemon { | ||
|
||
private final String tier; // Todo: enum 사용 | ||
private final List<String> pokemonIds; | ||
private static final String BOSS = "보스"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기 밑에 개행이 빠진 것 같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정했습니다!
backend/pokerogue/src/main/java/com/pokerogue/helper/biome/service/BiomeService.java
Outdated
Show resolved
Hide resolved
backend/pokerogue/src/main/java/com/pokerogue/helper/move/service/MoveService.java
Outdated
Show resolved
Hide resolved
/noti 비토! 리뷰 달았어요 |
/noti 미아랑 폴라 리뷰 반영 완료 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어프룹! 🎉
List<Pokemon> pokemons = pokemonRepository.findByPokedexNumber(pokedexNumber); | ||
return makeMoveResponse(pokemons.get(0)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
없는 도감번호라면 예외가 발생할거 같아요🪶
리턴전에 개행!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정했습니다!
List<MoveResponse> moves, | ||
List<MoveResponse> eggMoveResponses, | ||
List<PokemonMoveResponse> moves, | ||
List<PokemonMoveResponse> eggPokemonMoveRespons, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오타🐠
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정했습니다!
비토 고생하셨습니다🦎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve 했습니다!
🍄 PR 확인 사항
PR이 다음 요구 사항을 충족하는지 확인하세요. :
현재 작업은 어떤 이슈를 해결한 것인지 설명해주세요.
기존 코드에서 변경된 점이 있다면 설명해주세요. (추가 X)
biome 및 move 전부 mongo로 작동하도록 수정