Skip to content

[week07] 제이스 7주차 미션#21

Open
dldnsgkr wants to merge 2 commits into
mainfrom
week07_jace
Open

[week07] 제이스 7주차 미션#21
dldnsgkr wants to merge 2 commits into
mainfrom
week07_jace

Conversation

@dldnsgkr
Copy link
Copy Markdown
Contributor

오프세, 커서 기반 페이지네이션 및 request body가 있는 API에 검증 어노테이션 추가 작업을 했습니다.
이번에 Page라는 offset 기반의 타입이 있었는데 실제 현업에서 Page type의 response를 봤어서 내려오는 방식이 신기했었는데 이런 과정들이 있었구나 하고 느꼈습니다.

1. 내가 진행중인 미션 조회하기 (오프셋 기반)

스크린샷 2026-05-15 오전 11 55 07

2. 내가 생성한 리뷰들 조회하기 (커서 기반)

해당 API는 cursor 기반으로 잡고, request parameter에 orderby 넣어줄 요소를 추가로 받아서 처리했습니다.

3. Request Body가 있는 API에 검증 어노테이션 붙혀 검증하기

GeneralErrorCode에 Validation error 를 추가해서 검증에 대한 exception 처리를 했습니다.

@ddo0122
Copy link
Copy Markdown
Contributor

ddo0122 commented May 16, 2026

JPQL로 쿼리문을 잘 작성하신 것 같습니다.
수고하셨습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants