SchemaDerivation

caliban.schema.SchemaDerivation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait GenericSchema[R]
object Schema.type

Members list

Type members

Classlikes

object Auto

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Auto.type
sealed trait Auto[A] extends Schema[R, A]

Attributes

Companion
object
Supertypes
trait Schema[R, A]
class Object
trait Matchable
class Any
object SemiAuto

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
SemiAuto.type
sealed trait SemiAuto[A] extends Schema[R, A]

Attributes

Companion
object
Supertypes
trait Schema[R, A]
class Object
trait Matchable
class Any

Value members

Concrete methods

inline def gen[R, A]: Schema[R, A]
inline def genDebug[R, A]: Schema[R, A]

Inherited methods

def customizeInputTypeName(name: String): String

Default naming logic for input types. This is needed to avoid a name clash between a type used as an input and the same type used as an output. GraphQL needs 2 different types, and they can't have the same name. By default, the "Input" suffix is added after the type name, given that it is not already present.

Default naming logic for input types. This is needed to avoid a name clash between a type used as an input and the same type used as an output. GraphQL needs 2 different types, and they can't have the same name. By default, the "Input" suffix is added after the type name, given that it is not already present.

Attributes

Inherited from:
CommonSchemaDerivation
inline def derived[R, A]: Schema[R, A]

Attributes

Inherited from:
CommonSchemaDerivation
inline def recurse[R, P, Label, A <: Tuple](inline values: List[(String, List[Any], Schema[R, Any], Int)])(inline index: Int): List[(String, List[Any], Schema[R, Any], Int)]

Attributes

Inherited from:
CommonSchemaDerivation

Concrete fields

final lazy val auto: AutoSchemaDerivation[Any]