ResolverCachingConfig

data class ResolverCachingConfig(val cachingKeys: List<String>? = null, val ttl: Double)

The caching configuration for a resolver that has caching activated.

Constructors

Link copied to clipboard
constructor(cachingKeys: List<String>? = null, ttl: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cachingKeys: List<String>? = null

The caching keys for a resolver that has caching activated. Valid values are entries from the `$context.arguments`, `$context.source`, and `$context.identity` maps.

Link copied to clipboard
val ttl: Double

The TTL in seconds for a resolver that has caching activated. Valid values are 1–3,600 seconds.