ExcludeArgument

caliban.transformers.Transformer.ExcludeArgument

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(f: ((String, String), String)*): Transformer[Any]

A transformer that allows excluding arguments from fields

A transformer that allows excluding arguments from fields

 ExcludeArgument(
   "TypeA" -> "fieldA" -> "arg",
   "TypeA" -> "fieldB" -> "arg2",
 )

Value parameters

f

tuples in the format of (TypeName -> fieldName -> argumentToBeExcluded)

Attributes

Note

the '''argument must be optional''', otherwise the filter will be silently ignored