CommonSchemaDerivation

caliban.schema.CommonSchemaDerivation

Attributes

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

Members list

Value members

Concrete 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

inline def derived[R, A]: Schema[R, A]
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)]