You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Walkthrough
카테고리 응답에 nullable한 categoryGroupName 필드를 추가했습니다. 전체 카테고리 조회와 카테고리 생성에서 그룹 이름을 응답에 포함하며, 그룹이 없거나 조회되지 않으면 이름은 null입니다.
Changes
카테고리 그룹 이름 응답
Layer / File(s)
Summary
응답 계약과 전체 조회 src/main/kotlin/depromeet/hotsix/obrit/category/dto/response/CategoryResponse.kt, src/main/kotlin/depromeet/hotsix/obrit/category/service/CategoryQueryService.kt, src/main/kotlin/depromeet/hotsix/obrit/category/controller/docs/CategoryControllerApi.kt, src/test/kotlin/depromeet/hotsix/obrit/category/service/CategoryGroupServiceTest.kt
CategoryResponse에 nullable한 categoryGroupName을 추가했습니다. 전체 조회는 활성 그룹의 ID와 이름을 연결하며, 대응하는 그룹이 없으면 이름을 null로 반환합니다. API 설명과 전체 조회 테스트를 갱신했습니다.
카테고리 생성 응답 src/main/kotlin/depromeet/hotsix/obrit/category/service/CategoryService.kt, src/test/kotlin/depromeet/hotsix/obrit/category/service/CategoryGroupServiceTest.kt
카테고리 생성에서 그룹 객체를 조회하고, 응답에 그룹 이름을 전달합니다. 테스트는 생성 응답의 그룹 이름을 검증합니다.
No specific issue remains that should prevent merging after normal checks.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 16.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 18 functions across 5 files.
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 4 passed
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
제목은 소모품 종류 응답에 카테고리 그룹 이름을 추가하는 PR의 주요 변경 사항을 정확하고 간결하게 설명합니다.
Linked Issues check
이슈 #200의 코딩 요구사항을 충족합니다. CategoryResponse에 기존 categoryGroupId를 유지하면서 nullable categoryGroupName을 추가했습니다. listAllAccessibleCategories는 활성 그룹을 한 번에 조회해 ID별 이름을 매핑하고, 미분류·삭제·미존재 그룹은 null을 반환합니다…
Out of Scope Changes check
변경 범위는 이슈 #200과 연결됩니다. 생성 응답에 그룹 이름을 포함한 변경은 동일한 CategoryResponse 계약을 일관되게 적용하는 지원 변경입니다. 관련 서비스 로직, API 문서, 자동화 테스트 외에 unrelated 변경은 확인되지 않았습니다.
Full details: Linked Issues check
Explanation
이슈 #200의 코딩 요구사항을 충족합니다. CategoryResponse에 기존 categoryGroupId를 유지하면서 nullable categoryGroupName을 추가했습니다. listAllAccessibleCategories는 활성 그룹을 한 번에 조회해 ID별 이름을 매핑하고, 미분류·삭제·미존재 그룹은 null을 반환합니다. listCategoryGroups는 탭 목록과 노출 순서 조회를 계속 제공합니다. API 문서와 그룹 이름 조회 및 예외 상태 테스트도 추가했습니다.
Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
Commit to this branch
Create a new PR
🧪 Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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
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.
Closes #200
Summary
소모품 종류 응답에서 소속 그룹을 바로 확인할 수 있도록
categoryGroupName추가Changes
Etc
./gradlew test ktlintCheck통과 (테스트 236개)Summary by CodeRabbit
null로 표시됩니다.