fix: 커스텀 템플릿 mutation 응답에서 삭제된 슬롯 제외 - #488
Conversation
- nested include는 soft-delete Extension 밖인데 upsertProductCustomTemplate·setCustomTemplateActive 응답 include의 text_tokens에만 where가 없어, 판매자가 지운 슬롯이 두 mutation 응답에 다시 섞임(같은 파일의 나머지 text_tokens include 4곳은 activeWhere 명시) - 두 include에 where: activeWhere 추가 - 회귀: 삭제 슬롯이 있는 템플릿에서 두 mutation 응답 textTokens가 활성 슬롯만 2건(수정 전 삭제 슬롯 id가 섞여 2건 모두 실패 확인)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
🧹 knip — dead-code 리포트전체 리포트
|
🩺 NestJS Doctor — 90/100 (Excellent)진단 470건 (error 12).
architecture / security 상위 항목
|
Coverage report
Test suite run success3729 tests passing in 355 suites. Report generated by 🧪jest coverage report action from 6856e76 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
배경
upsertProductCustomTemplate·setCustomTemplateActive) 응답에 삭제된 문구 슬롯이 섞여 나왔습니다.text_tokensinclude 6곳 중 이 두 곳에만where: activeWhere가 없었습니다.변경
where: activeWhere를 추가했습니다.테스트
textTokens가 살아 있는 슬롯만 담는지 확인하는 2건을 추가했습니다.플랜 대조
where: activeWhere