fix: 최신순 정렬을 사용하는 ServiceTest, RepositoryTest에 아이디 기준 내림차순 옵션 추가 #77
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.
Issue
✨ 구현한 기능
📢 논의하고 싶은 내용
이것도 쿼리문은 소수점 6자리 기준으로 데이터가 나와서 id2, id3 순서로 나오게 됩니다. 근데 H2에서 가져온 데이터를 사용하는게 아니라 영속성 컨텍스트 1차 캐시 값을 재사용하고 있기 때문에 이상하게 결과값을 가져오는 것처럼 보이는 것입니다.
[이전 쿼리문]
[변경된 쿼리문]
🎸 기타
요청이 오면 기존 정렬 조건에 추가적으로 id 기준 내림차순을 적용해놨어서 🤣
⏰ 일정