FieldPolicyCacheResolver

object FieldPolicyCacheResolver : CacheResolver

A CacheResolver that uses @fieldPolicy annotations to resolve fields and delegates to DefaultCacheResolver else

Functions

Link copied to clipboard
open override fun resolveField(    field: CompiledField,     variables: Executable.Variables,     parent: Map<String, @JvmSuppressWildcards Any?>,     parentId: String): Any?

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