[Data] Fake Repository 및 @Fake DI 한정자 추가 - #48
Merged
Moony-H merged 2 commits intoAug 1, 2026
Conversation
* feat: @Fake Qualifier 추가 * feat: FakeUserRepository, FakeSajuRepository 구현 및 모듈 등록 * chore: UseCase에서 Fake Repository를 사용하도록 변경
|
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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 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 |
Moony-H
marked this pull request as draft
July 31, 2026 10:15
Moony-H
marked this pull request as ready for review
July 31, 2026 10:16
oungsi2000
approved these changes
Jul 31, 2026
Base automatically changed from
feature/create-repository-and-usecase
to
feature/44-create-my-page
August 1, 2026 05:29
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
관련 이슈
작업 내용
백엔드 API 연동 전, 마이페이지 화면 개발을 진행할 수 있도록 UserRepository/SajuRepository의 Fake 구현체와 DI 연결을 추가했습니다.
변경사항 / 상세
domain/di/Fake.kt: Hilt Qualifier 어노테이션 (domain에 위치 — UseCase가 참조해야 해서 data에 두면 역방향 참조(P1)가 되므로 domain에 배치)data/repository/FakeUserRepository.kt,FakeSajuRepository.kt: 각각UserRepository/SajuRepository구현, 고정된 더미 데이터 반환data/di/FakeRepositoryModule.kt:@Fake한정자로 두 Fake 구현체를 바인딩GetUserUseCase,GetSajuPaljaUseCase: 생성자 파라미터에@Fake부착중점 리뷰사항
@Fake를 직접 참조하는 임시 구조입니다. 실제 API 연동 시 UseCase에서@Fake를 제거하고 실제 구현체 바인딩으로 교체해야 합니다 (제거를 잊지 않도록 후속 이슈/체크리스트로 추적 필요).스크린샷 (선택)
N/A (domain/data 레이어 전용 변경)