SchemaDerivation

caliban.schema.SchemaDerivation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Classlikes

sealed abstract class Auto[A] extends Schema[R, A]

Attributes

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

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Auto.type
final class SemiAuto[A](impl: Schema[R, A]) extends Schema[R, A]

Attributes

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

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
SemiAuto.type

Inherited classlikes

case class DerivationConfig(enableSemanticNonNull: Boolean)

Attributes

Inherited from:
CommonSchemaDerivation
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

inline def apply[A]: Schema[R, A]
inline def gen[R, A]: Schema[R, A]
inline def genDebug[R, A]: Schema[R, A]
inline def unionType[T]: Schema[R, T]

Inherited methods

Returns a configuration object that can be used to customize the derivation behavior.

Returns a configuration object that can be used to customize the derivation behavior.

Override this method to customize the configuration.

Attributes

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

Attributes

Inherited from:
CommonSchemaDerivation
transparent inline def recurseProduct[R, P, Label <: Tuple, A <: Tuple](inline values: List[ProductFieldInfo[R]])(inline index: Int): List[ProductFieldInfo[R]]

Attributes

Inherited from:
CommonSchemaDerivation
transparent inline def recurseSum[R, P, Label <: Tuple, A <: Tuple](inline types: List[(String, `__Type`, List[Any])], inline schemas: List[Schema[R, Any]]): (List[(String, `__Type`, List[Any])], List[Schema[R, Any]])

Attributes

Inherited from:
CommonSchemaDerivation
transparent inline def valueTypeSchema[R, Label <: Tuple, A <: Tuple]: Schema[R, Any]

Attributes

Inherited from:
CommonSchemaDerivation

Concrete fields

final lazy val auto: AutoSchemaDerivation[Any]