Skip to content

Commit c6059e8

Browse files
committed
Bump Apollo to 4.2.0 and Apollo Cache to 1.0.0-alpha.1
1 parent 33d121b commit c6059e8

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ agp = "8.8.2"
1010
activity-compose = "1.10.1"
1111
androidx-lifecycle = "2.8.7"
1212
androidx-datastore = "1.1.5"
13-
apollo = "4.1.1"
14-
apollo-cache = "0.0.8"
13+
apollo = "4.2.0"
14+
apollo-cache = "1.0.0-alpha.1"
1515
compose = "1.8.0"
1616
compose-hot-reload = "1.0.0-alpha09"
1717
composeLifecyleRuntime="2.9.0-alpha07"
@@ -80,8 +80,8 @@ androidx-work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version
8080
androidx-work-testing = { module = "androidx.work:work-testing", version.ref = "work-runtime-ktx" }
8181
lifecyle-runtime = { module = "org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose", version.ref = "composeLifecyleRuntime" }
8282
apollo-adapters = { module = "com.apollographql.apollo:apollo-adapters" }
83-
apollo-normalized-cache-in-memory = { module = "com.apollographql.cache:normalized-cache-incubating", version.ref = "apollo-cache" }
84-
apollo-normalized-cache-sqlite = { module = "com.apollographql.cache:normalized-cache-sqlite-incubating", version.ref = "apollo-cache" }
83+
apollo-normalized-cache-in-memory = { module = "com.apollographql.cache:normalized-cache", version.ref = "apollo-cache" }
84+
apollo-normalized-cache-sqlite = { module = "com.apollographql.cache:normalized-cache-sqlite", version.ref = "apollo-cache" }
8585
apollo-normalized-cache-compiler-plugin = { module = "com.apollographql.cache:normalized-cache-apollo-compiler-plugin", version.ref = "apollo-cache" }
8686
apollo-runtime = { module = "com.apollographql.apollo:apollo-runtime" }
8787
apollo-execution-spring = { module = "com.apollographql.execution:apollo-execution-spring", version.ref = "apollo-kotlin-execution" }

shared/src/commonMain/graphql/extra.graphqls

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ extend schema
88
import: ["@cacheControl", "@cacheControlField"]
99
)
1010

11+
extend type Venue
12+
@typePolicy(keyFields: "id")
13+
1114
extend type Session
1215
@typePolicy(keyFields: "id")
1316
@cacheControl(maxAge: 14400)

0 commit comments

Comments
 (0)