[REFACTOR] 미사용 API 제거 및 모듈 정리#51
Conversation
- buyers/sellers controller, service, module, dto, spec 파일 제거 - app.module.ts에서 BuyersModule, SellersModule 등록 제거 - my-business, partners 모듈에서 MongooseModule.forFeature로 직접 스키마 주입으로 전환 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
현재 미사용 API로 controller, service, dto, schema 전체 제거 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (24)
💤 Files with no reviewable changes (22)
📝 WalkthroughWalkthrough이 PR은 Swagger 문서에 노출되었으나 실제로는 사용되지 않는 API를 제거하는 리팩토링입니다. Sellers, Buyers, Consultations 모듈의 컨트롤러, 서비스, DTO를 삭제하고, 이들에 의존하던 MyBusinessModule과 PartnersModule은 제거된 모듈 대신 스키마를 직접 등록하도록 변경합니다. Changes미사용 API 모듈 제거
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
@CodeRabbit review |
✅ Actions performedReview triggered.
|
Resolves #50
개요
현재 서비스에서 호출되지 않는 API 모듈 3개를 제거합니다.
스키마는
my-business,partners등 다른 모듈에서 직접 참조 중이므로 유지합니다.변경 사항
제거
consultations모듈 전체 (controller / service / dto / schema)buyers모듈 — schema 제외 전체 (controller / service / module / dto / spec)sellers모듈 — schema 제외 전체 (controller / service / module / dto / spec)수정
app.module.ts— BuyersModule, SellersModule, ConsultationsModule 등록 제거my-business.module.ts,partners.module.ts— BuyersModule/SellersModule 의존 제거,MongooseModule.forFeature로 스키마 직접 주입Summary by CodeRabbit
릴리스 노트
Refactor
Chores