Firestore 및 RemoteSource의 구현을 Coroutines로 migration #14
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.
Firestore 변경
RemoteSource와 Firestore 사이 하나의 레이어를 둬야할 지 고민이었음.
현재는 중간 레이어를 두지 않음.
collection 경로 등 remoteSource에서 직접 갖고 있고, 중복되는 경우가 존재함.
Firestore의 응답 값의 필드 명을 직접 가지고 있거나, collection 경로를 직접 알고 있는 것 등은 RemoteSource가 가질 관심이 아닌 것으로 판단됨. 중간 레이어를 두는 것도 좋은 방법이라 생각됨.
RemoteSource 변경