Skip to content

Commit

Permalink
[FEATURE] #32 : ManageRepository binds 메소드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Oct 21, 2023
1 parent 18eff99 commit dd2feea
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.wap.wapp.core.data.di

import com.wap.wapp.core.data.repository.manage.ManageRepository
import com.wap.wapp.core.data.repository.manage.ManageRepositoryImpl
import com.wap.wapp.core.data.repository.user.UserRepository
import com.wap.wapp.core.data.repository.user.UserRepositoryImpl
import dagger.Binds
Expand All @@ -16,4 +18,10 @@ abstract class DataModule {
abstract fun bindsUserRepository(
userRepositoryImpl: UserRepositoryImpl,
): UserRepository

@Binds
@Singleton
abstract fun bindsManageRepository(
manageRepositoryImpl: ManageRepositoryImpl,
): ManageRepository
}

0 comments on commit dd2feea

Please sign in to comment.