CacheResolver

interface CacheResolver

Controls how fields are resolved from the cache.

Inheritors

Types

Link copied to clipboard
class ResolvedValue(val value: Any?, val cacheHeaders: CacheHeaders)

Functions

Link copied to clipboard
abstract fun resolveField(context: ResolverContext): Any?

Resolves a field from the cache. Called when reading from the cache, usually before a network request.