File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
intellij-plugin/src/main/kotlin/com/apollographql/ijplugin/apollodebugserver Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import com.apollographql.apollo3.ApolloClient
6
6
import com.apollographql.apollo3.debug.GetApolloClientsQuery
7
7
import com.apollographql.apollo3.debug.GetNormalizedCacheQuery
8
8
import com.apollographql.apollo3.network.http.LoggingInterceptor
9
+ import com.apollographql.ijplugin.util.apollo3
9
10
import com.apollographql.ijplugin.util.apollo4
10
11
import com.apollographql.ijplugin.util.executeCatching
11
12
import com.apollographql.ijplugin.util.logd
@@ -119,7 +120,15 @@ class ApolloDebugClient(
119
120
120
121
val String .normalizedCacheSimpleName: String
121
122
get() = when (this ) {
122
- " $apollo4 .cache.normalized.api.MemoryCache" -> " MemoryCache"
123
- " $apollo4 .cache.normalized.sql.SqlNormalizedCache" -> " SqlNormalizedCache"
123
+ " $apollo3 .cache.normalized.api.MemoryCache" ,
124
+ " $apollo4 .cache.normalized.api.MemoryCache" ,
125
+ " com.apollographql.cache.normalized.sql.MemoryCache" ,
126
+ -> " MemoryCache"
127
+
128
+ " $apollo3 .cache.normalized.sql.SqlNormalizedCache" ,
129
+ " $apollo4 .cache.normalized.sql.SqlNormalizedCache" ,
130
+ " com.apollographql.cache.normalized.sql.SqlNormalizedCache" ,
131
+ -> " SqlNormalizedCache"
132
+
124
133
else -> this
125
134
}
You can’t perform that action at this time.
0 commit comments