-
Notifications
You must be signed in to change notification settings - Fork 0
[Feat] '가게 조회 API'에 카테고리 필터링 추가 #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Walkthrough가게 목록 조회 API에 선택적 카테고리(category) 필터링 기능이 추가되었습니다. Controller, Service, Repository 계층이 모두 확장되어, 쿼리 파라미터로 category를 전달하면 해당 카테고리의 가게만 최신순으로 반환합니다. 관련 테스트 및 문서화도 모두 반영되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant StoreController
participant StoreService
participant StoreRepository
Client->>StoreController: GET /stores?size=10&category=CAFE
StoreController->>StoreService: getStores(10, "CAFE")
StoreService->>StoreRepository: findAllByCategoryOrderByCreatedAtDesc(CAFE, pageable)
StoreRepository-->>StoreService: List<Store>
StoreService-->>StoreController: StoresResponse
StoreController-->>Client: ResponseEntity<StoresResponse>
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changes(해당 PR에서는 모든 변경사항이 이슈 #125의 목적에 부합합니다. 범위를 벗어난 변경사항이 없습니다.) Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (8)
🧰 Additional context used🧠 Learnings (8)src/main/java/eatda/domain/store/StoreCategory.java (1)Learnt from: leegwichan src/main/java/eatda/repository/store/StoreRepository.java (1)Learnt from: leegwichan src/main/java/eatda/controller/store/StoreController.java (1)Learnt from: leegwichan src/test/java/eatda/service/store/StoreServiceTest.java (1)Learnt from: leegwichan src/main/java/eatda/service/store/StoreService.java (2)Learnt from: leegwichan Learnt from: leegwichan src/test/java/eatda/document/store/StoreDocumentTest.java (1)Learnt from: leegwichan src/test/java/eatda/fixture/StoreGenerator.java (1)Learnt from: leegwichan src/test/java/eatda/controller/store/StoreControllerTest.java (1)Learnt from: leegwichan ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (25)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
|
lvalentine6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이번 PR도 고생하셨습니다! 🦖
5대기처럼 변동 사항이 있으면 바로 작업해주시는군요.. 🦅
|
🎉 This PR is included in version 1.4.0-develop.35 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |



✨ 개요
🧾 관련 이슈
closed #125
🔍 참고 사항 (선택)
Summary by CodeRabbit