Skip to content

Commit c2b2402

Browse files
committed
Add TODO
Signed-off-by: matt-ramotar <[email protected]>
1 parent d0bfad6 commit c2b2402

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

store/src/commonMain/kotlin/org/mobilenativefoundation/store/store5/impl/RealMutableStore.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ internal class RealMutableStore<Key : Any, Network : Any, Output : Any, Local :
4242
safeInitStore(request.key)
4343

4444
when (val eagerConflictResolutionResult = tryEagerlyResolveConflicts<Response>(request.key)) {
45+
46+
// TODO(matt-ramotar): Many use cases will not want to pull immediately after failing
47+
// to push local changes. We should enable configuration of conflict resolution strategies,
48+
// such as logging, retrying, canceling.
49+
4550
is EagerConflictResolutionResult.Error.Exception -> {
4651
logger.error(eagerConflictResolutionResult.error.toString())
4752
}

0 commit comments

Comments
 (0)