#360 [Refactor] 1인 1관점 제한을 해제하고 1인 다수 관점 등록 허용#363
Merged
Merged
Conversation
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#️⃣ 연관된 이슈
📝 작업 내용
♻️ Refactor
PerspectiveService.javaexistsByBattleIdAndUserId제거,findByBattleIdAndUserId(단건)를findByBattleIdAndUserIdOrderByCreatedAtDesc(목록)로 교체PerspectiveRepository.javaPerspectiveService.java,PerspectiveController.javaperspectives(battle_id, user_id)유니크 제약 제거Perspective.javaErrorCode.java(PERSPECTIVE_ALREADY_EXISTS)V20260724_02__drop_perspectives_unique_constraint.sql📌 공유 사항
✅ 체크리스트
./gradlew compileJava compileTestJava및 관련 테스트 통과 확인)📸 스크린샷
PerspectiveServiceTest에 신규 테스트 2개 추가: 동일 유저가 같은 배틀에 관점을 여러 개 등록해도 성공하는지,getMyPerspective가 여러 관점을 최신순 목록으로 반환하는지 검증. 전체 perspective 도메인 테스트 통과.💬 리뷰 요구사항