feat : 숨캐찾 정답 처리 로직 캐싱 적용 및 정답 관련 정보를 coord -> position으로 수정 (CC-159) #34
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.
📝 작업내용
int coord
->double position
으로 수정💬 침고사항
FindingGamePlayService
의 87번째줄에, 정답을 1개 맞췄으면correctList.remove()
하는 코드가 있음.캐싱을 서비스레벨의 메서드가 아닌 레포지토리레벨의 메서드에 걸어 놓았는데, 위의 코드 때문에 버그가 발생함
correctList.remove()
의 코드 때문에 변화가 감지?되어, 같은 요청을 한번 더 보냈느데correctList
가 2개가 아니라 1개가 반환되어버림. 따라서 일단remove
하는 코드를 제거함.📖 레퍼런스