ArgBuilderDerivation

caliban.schema.ArgBuilderDerivation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Type members

Classlikes

object Auto

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Auto.type
sealed trait Auto[A] extends ArgBuilder[A]

Attributes

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

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 recurse[Label, A <: Tuple](inline values: List[(String, List[Any], ArgBuilder[Any])]): List[(String, List[Any], ArgBuilder[Any])]

Attributes

Inherited from:
CommonArgBuilderDerivation