fix(document): 문서함 전체 페이지 조회 지원 - #348
Draft
hywznn wants to merge 1 commit into
Draft
Conversation
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.
무엇을 변경했나요
GET /api/v1/documents의 첫 100건만 읽던 동작을 모든 페이지 병합 방식으로 변경했습니다.worker_document_id기준으로 중복 항목을 제거합니다.왜 필요한가요
Demo 문서 메타데이터가 126건으로 늘면서 기존 화면은 26건을 목록·검색·상태 지표에서 제외했습니다. 전체 페이지를 불러와야 실제 DB의 문서함과 Client 표시가 일치합니다.
사용자 영향
문서함의 전체·검토 필요·만료 예정·누락·완료 집계와 검색 결과가 서버의 전체 문서 집합을 기준으로 표시됩니다.
검증
npm test -- --run— 84개 테스트 파일, 455개 테스트 통과npm run build— 성공Closes #347