ExcludeInputField

caliban.transformers.Transformer.ExcludeInputField

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

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

A transformer that allows excluding fields from input types.

A transformer that allows excluding fields from input types.

 ExcludeField(
   "TypeAInput" -> "foo",
   "TypeBInput" -> "bar",
 )

Value parameters

f

tuples in the format of (TypeName -> inputFieldToExclude)

Attributes

Note

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