-
Notifications
You must be signed in to change notification settings - Fork 1
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
[CT-3-3] 차트게임 기능 - data 레이어 - repository #22
[CT-3-3] 차트게임 기능 - data 레이어 - repository #22
Conversation
data/src/main/java/com/yessorae/data/repository/ChartGameRepositoryImpl.kt
Outdated
Show resolved
Hide resolved
data/src/main/java/com/yessorae/data/repository/ChartGameRepositoryImpl.kt
Show resolved
Hide resolved
…/ct-3-chart-game-data-repository-impl
…twork-source [CT-3-1] 차트게임 기능 - data 레이어 - network
슬랙에서 질문 답변해주신 withTransaction을 적용했습니다. |
아마 23일까지는 리뷰 반영할 수 있을 것 같습니다.
|
…ository-impl' into feature/ct-3-chart-game-data-repository-impl
|
import androidx.room.withTransaction | ||
import javax.inject.Inject | ||
|
||
class ChartTrainerDatabaseTransactionHelper @Inject constructor( |
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.
nit; helper 대신 executor는 어떨까요?
import javax.inject.Inject | ||
import kotlinx.coroutines.flow.Flow | ||
|
||
class ChartTrainerLocalDBDataSourceImpl @Inject constructor( |
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.
nit; 지금은 대부분 코드가 localDatasource하나에 모여있는데 모델을 어떻게 관리하고 나눌지에 따라서 여러개의 datasource로 나눠질수도 있습니다.
고생하셨습니다. ㅎㅎ 추가 코멘트는 다음 PR에서 적용해주세요~! |
30c395d
into
feature/ct-3-chart-game-data-network-source
reference #3
이 PR을 보시기 전에 #19 PR -> #20 PR 을 보는 것이 순서에 맞습니다.
이 PR이 #3 의 마지막 PR입니다.
Overview