diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index c91464aa..40f664c0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ ksp = "2.0.0-Beta1-1.0.15" androidGradlePlugin = "8.3.0-alpha16" gradle-toolchainsResolverPlugin = "0.7.0" appVersioning = "1.3.1" -apollo = "4.0.0-beta.2" +apollo = "4.0.0-beta.3" googleServices = "4.4.0" wire = "4.9.3" detekt = "1.23.4" diff --git a/kmp/feed-datasource/cloud/src/commonTest/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/util/ApolloApiErrorCheckerTest.kt b/kmp/feed-datasource/cloud/src/commonTest/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/util/ApolloApiErrorCheckerTest.kt index 8cca1421..c0153638 100644 --- a/kmp/feed-datasource/cloud/src/commonTest/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/util/ApolloApiErrorCheckerTest.kt +++ b/kmp/feed-datasource/cloud/src/commonTest/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/util/ApolloApiErrorCheckerTest.kt @@ -1,9 +1,9 @@ package io.github.reactivecircus.kstreamlined.kmp.feed.datasource.util -import com.apollographql.apollo3.exception.ApolloGraphQLException import com.apollographql.apollo3.exception.ApolloNetworkException import com.apollographql.apollo3.exception.ApolloParseException import com.apollographql.apollo3.exception.CacheMissException +import com.apollographql.apollo3.exception.JsonEncodingException import com.apollographql.apollo3.exception.NoDataException import kotlin.test.Test import kotlin.test.assertFalse @@ -76,7 +76,7 @@ class ApolloApiErrorCheckerTest { ApolloApiErrorChecker.isNetworkError( ApolloParseException().apply { addSuppressed(CacheMissException("key", null)) - addSuppressed(ApolloGraphQLException(emptyList())) + addSuppressed(JsonEncodingException("")) } ) ) @@ -89,7 +89,7 @@ class ApolloApiErrorCheckerTest { NoDataException( cause = ApolloParseException().apply { addSuppressed(CacheMissException("key", null)) - addSuppressed(ApolloGraphQLException(emptyList())) + addSuppressed(JsonEncodingException("")) } ) )