GQLCacheControl

caliban.wrappers.Caching.GQLCacheControl
case class GQLCacheControl(maxAge: Option[Duration], scope: Option[CacheScope], inheritMaxAge: Boolean) extends GQLDirective

Assigns a cache hint to a field or a type

Value parameters

inheritMaxAge

Whether the maxAge should be inherited from the parent type

maxAge

The maximum duration that this field should be cached for

scope

The scope of that should be applied to the cache

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class GQLDirective
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

Attributes

Inherited from:
GQLDirective