[week07] 제이스 7주차 미션#21
Open
dldnsgkr wants to merge 2 commits into
Open
Conversation
added 2 commits
May 10, 2026 23:59
Contributor
|
JPQL로 쿼리문을 잘 작성하신 것 같습니다. |
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.
오프세, 커서 기반 페이지네이션 및 request body가 있는 API에 검증 어노테이션 추가 작업을 했습니다.
이번에 Page라는 offset 기반의 타입이 있었는데 실제 현업에서 Page type의 response를 봤어서 내려오는 방식이 신기했었는데 이런 과정들이 있었구나 하고 느꼈습니다.
1. 내가 진행중인 미션 조회하기 (오프셋 기반)
2. 내가 생성한 리뷰들 조회하기 (커서 기반)
해당 API는 cursor 기반으로 잡고, request parameter에 orderby 넣어줄 요소를 추가로 받아서 처리했습니다.
3. Request Body가 있는 API에 검증 어노테이션 붙혀 검증하기
GeneralErrorCode에 Validation error 를 추가해서 검증에 대한 exception 처리를 했습니다.