Skip to content

[FEAT] 소설 필터 검색 시 플랫폼 필터 추가#536

Merged
ljy1348 merged 2 commits into
devfrom
feat/#535
Jun 18, 2026
Merged

[FEAT] 소설 필터 검색 시 플랫폼 필터 추가#536
ljy1348 merged 2 commits into
devfrom
feat/#535

Conversation

@ljy1348

@ljy1348 ljy1348 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor
  • /novels/filtered API에 platformNames(Array) 파라미터 추가
  • platformNames가 존재하면 해당 플랫폼에 등록된 소설만 조회
  • NovelGenre 조인을 INNER → LEFT JOIN으로 변경하여 플랫폼 없는 소설도 포함)

Related Issue

Key Changes

  • /novels/filtered API에 platformNames(Array<String>) 쿼리 파라미터 추가
  • platformNames가 존재하는 경우 해당 플랫폼에 등록된 소설만 조회
  • platformNames가 없는 경우 기존과 동일하게 전체 조회
  • Novel, Platform 엔티티에 novelPlatforms OneToMany 연관관계 추가
  • NovelCustomRepositoryImplNovelPlatform, Platform LEFT JOIN 및 플랫폼 필터 조건 추가

To Reviewers

References

  - /novels/filtered API에 platformNames(Array<String>) 파라미터 추가
  - platformNames가 존재하면 해당 플랫폼에 등록된 소설만 조회
  - NovelGenre 조인을 INNER → LEFT JOIN으로 변경하여 플랫폼 없는 소설도 포함)
@ljy1348 ljy1348 requested a review from GiJungPark June 17, 2026 12:12
@ljy1348 ljy1348 linked an issue Jun 17, 2026 that may be closed by this pull request
2 tasks
@github-actions github-actions Bot requested a review from sansan20535 June 17, 2026 12:12

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 67827ab488

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

.status(OK)
.body(searchNovelApplication.getFilteredNovels(genres, keywordIds, isCompleted, novelRating,
novelRatingStart, novelRatingEnd, page, size));
novelRatingStart, novelRatingEnd, platformNames, page, size));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Pass platformNames through the application layer

This added argument does not match SearchNovelApplication#getFilteredNovels, which still accepts only the previous eight parameters, so the project no longer compiles. The same application method also still calls NovelServiceImpl#findFilteredNovels without the newly required platformNames argument, so the filtered novels endpoint cannot be built until the application-layer signature and calls are updated together.

Useful? React with 👍 / 👎.

@GiJungPark GiJungPark left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

엔티티 연관관계 맵핑 후, left join으로 같이 필터 걸리도록 수정한 부분 확인했습니다!

@ljy1348 ljy1348 merged commit 99eccdd into dev Jun 18, 2026
1 check passed
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.

[FEAT] 소설 검색 시 플랫폼 필터 추가

2 participants