ArgBuilderDerivation

caliban.schema.ArgBuilderDerivation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Classlikes

sealed abstract class Auto[A] extends ArgBuilder[A]

Attributes

Companion
object
Supertypes
trait ArgBuilder[A]
class Object
trait Matchable
class Any
object Auto

Attributes

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

Types

final type GenAuto[A] = Auto[A]

Due to a Scala 3 compiler bug, it's not possible to derive two type classes of the same name. For example, the following fails to compile:

Due to a Scala 3 compiler bug, it's not possible to derive two type classes of the same name. For example, the following fails to compile:

case class Foo(value: String) derives Schema.Auto, ArgBuilder.Auto

Until the issue is resolved, we can use this type alias as a workaround by replacing ArgBuilder.Auto with ArgBuilder.GenAuto

Attributes

Value members

Concrete methods

inline def gen[A]: ArgBuilder[A]

Inherited methods

inline def derived[A]: ArgBuilder[A]

Attributes

Inherited from:
CommonArgBuilderDerivation
inline def recurseProduct[P, Label, A <: Tuple](inline values: List[(String, ArgBuilder[Any])]): List[(String, ArgBuilder[Any])]

Attributes

Inherited from:
CommonArgBuilderDerivation
inline def recurseSum[P, Label, A <: Tuple](inline values: List[(String, List[Any], ArgBuilder[Any])]): List[(String, List[Any], ArgBuilder[Any])]

Attributes

Inherited from:
CommonArgBuilderDerivation