ExcludeDirectives

caliban.transformers.Transformer.ExcludeDirectives

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(directives: GQLDirective*): Transformer[Any]

A transformer that allows excluding fields and inputs with specific directives.

A transformer that allows excluding fields and inputs with specific directives.

 case object Experimental extends GQLDirective(Directive("experimental"))
 case object Internal extends GQLDirective(Directive("internal"))

 ExcludeDirectives(Experimental, Internal)

Attributes

def apply(predicate: Directive => Boolean): Transformer[Any]

A transformer that allows excluding fields and inputs with specific directives based on a predicate.

A transformer that allows excluding fields and inputs with specific directives based on a predicate.

Attributes