[FIX] 작품 검색의 최근 검색어 저장 여부를 분리 - #619
Merged
Merged
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.
Related Issue
Key Changes
GET /novels에 선택적 boolean 쿼리 파라미터recordRecentSearch를 추가하고, 생략 시true로 처리해 기존 클라이언트 동작을 유지했습니다.recordRecentSearch=true이면서 로그인 사용자이고 정규화된 검색어가 비어 있지 않을 때만NovelSearchedEvent를 발행하도록 저장 조건을 분리했습니다.false일 때도 검색 결과와 페이지네이션 응답은 기존과 동일합니다.true/false·비로그인·빈 검색어·검색 결과 0건을 자동화 테스트로 검증하고, REST Docs/OpenAPI에 파라미터 기본값과 사용 계약을 반영했습니다.To Reviewers
recordRecentSearch값을 올바르게 함께 적용하는지, 파라미터 생략 시 호환성이 유지되는지 중점적으로 확인 부탁드립니다.false로 전달해야 합니다. 클라이언트 변경과 기존 최근 검색어 정리는 이번 범위에서 제외했습니다.References