Does Apollo Kotlin have a way to see if result came from cache or server?

Does Apollo Kotlin have a way to see if result came from cache or server?

Apollo iOS has GraphQLResult .cache or .server. Does Kotlin have anything similar? I’ve been unable to find anything searching and digging through the codebase.

Hi!

You can use ApolloResponse.isFromCache for this.

1 Like