ResolverCachingConfig constructor

const ResolverCachingConfig({
  1. Input<List<String>?>? cachingKeys,
  2. Input<int?>? ttl,
})

Creates a new ResolverCachingConfig. cachingKeys Caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps. ttl TTL in seconds for a resolver that has caching activated. Valid values are between 1 and 3600 seconds.

Implementation

const ResolverCachingConfig({
  this.cachingKeys,
  this.ttl,
});