-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Week6] 6주차 필수 과제 #14
base: develop
Are you sure you want to change the base?
Conversation
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.
유즈케이스도 쓰고 멋찌다!! 혜음멋있다!!
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.
UseCase 적용하시느라 정말 고생많으셨어요 ^^
import org.sopt.and.data.datasource.AuthDataSource | ||
import org.sopt.and.data.datasource.MyDataSource | ||
import org.sopt.and.data.datasourceimpl.AuthDataSourceImpl | ||
import org.sopt.and.data.datasourceimpl.MyDataSourceImpl | ||
import javax.inject.Singleton | ||
|
||
@Module | ||
@InstallIn(SingletonComponent::class) | ||
internal abstract class DataSourceModule { |
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.
여기에 internal을 붙이시는 이유가 따로 있나요??
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.
애초에 clean architecture 잘해놓으셔서 큰 변화가 없으시네요
이번 과제하는데 코드 도움 많이 받았습니다!
import org.sopt.and.data.dto.response.ResponseSignInDto | ||
import org.sopt.and.data.dto.response.ResponseSignUpDto | ||
|
||
interface WavveDataSource { | ||
interface AuthDataSource { |
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.
datasource를 이렇게 유형별로 나누는게 좋은 방법이군요!
import javax.inject.Inject | ||
|
||
@HiltViewModel | ||
class MyViewModel @Inject constructor( | ||
private val wavveRepository: WavveRepository | ||
private val getHobbyUseCase : MyUseCase |
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.
viewmodel이 repository 의존성을 가지는것과 usecase를 가지는 것과 어떻게 다른가요??
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.
고생하셨습니다 ~
@@ -1,4 +1,4 @@ | |||
package org.sopt.and.component | |||
package org.sopt.and.core.component |
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.
core 패키지에는 보통 어떤 친구들을 넣어놓으시는지 궁금해요!
Related issue 🛠
Work Description ✏️
Screenshot 📸
Uncompleted Tasks 😅
To Reviewers 📢
기존의 service datasource repository 를 하나로 통합해서 사용했는데 이번 주차에서는 각각 분리해보았습니다 :)
뭐했다고 벌써 6주차 과제 마감일일까요
뭐했다고 벌써 다음 세미나가 7주차 세미나일까요...
후엥