From c2b24020065918f41753ac10876bcd339d184919 Mon Sep 17 00:00:00 2001 From: matt-ramotar Date: Sun, 17 Nov 2024 18:27:11 -0500 Subject: [PATCH] Add TODO Signed-off-by: matt-ramotar --- .../store/store5/impl/RealMutableStore.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/store/src/commonMain/kotlin/org/mobilenativefoundation/store/store5/impl/RealMutableStore.kt b/store/src/commonMain/kotlin/org/mobilenativefoundation/store/store5/impl/RealMutableStore.kt index f7f27001..cd577f2c 100644 --- a/store/src/commonMain/kotlin/org/mobilenativefoundation/store/store5/impl/RealMutableStore.kt +++ b/store/src/commonMain/kotlin/org/mobilenativefoundation/store/store5/impl/RealMutableStore.kt @@ -42,6 +42,11 @@ internal class RealMutableStore(request.key)) { + + // TODO(matt-ramotar): Many use cases will not want to pull immediately after failing + // to push local changes. We should enable configuration of conflict resolution strategies, + // such as logging, retrying, canceling. + is EagerConflictResolutionResult.Error.Exception -> { logger.error(eagerConflictResolutionResult.error.toString()) }