← ZIO Config docs

DeriveConfig

zio.config.magnolia.DeriveConfig
See theDeriveConfig companion class
object DeriveConfig

Attributes

Companion
class
Source
DeriveConfig.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

sealed trait CaseModifier extends KeyModifier

Attributes

Source
DeriveConfig.scala
Supertypes
trait KeyModifier
class Object
trait Matchable
class Any
Known subtypes
object KebabCase
object NoneModifier
object SnakeCase
final case class CoproductName(originalName: String, alternativeNames: List[String], descriptions: List[String], typeDiscriminator: Option[String])

Attributes

Source
DeriveConfig.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class FieldName(originalName: String, alternativeNames: List[String], descriptions: List[String])

Attributes

Source
DeriveConfig.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object KeyModifier

Attributes

Companion
trait
Source
DeriveConfig.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait KeyModifier

Attributes

Companion
object
Source
DeriveConfig.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait CaseModifier
object KebabCase
object NoneModifier
object SnakeCase
class Postfix
class Prefix
Show all
object Metadata

Attributes

Companion
trait
Source
DeriveConfig.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Metadata.type
sealed trait Metadata

Attributes

Companion
object
Source
DeriveConfig.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Coproduct
class Object[T]
class Product
final case class ProductName(originalName: String, alternativeNames: List[String], descriptions: List[String])

Attributes

Source
DeriveConfig.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def addDefaultValues(defaultValues: Map[String, Any], fieldNames: List[String], descriptors: List[DeriveConfig[Any]]): List[DeriveConfig[_]]

Attributes

Source
DeriveConfig.scala
def apply[A](implicit ev: DeriveConfig[A]): DeriveConfig[A]

Attributes

Source
DeriveConfig.scala
def castTo[T](a: Any): T

Attributes

Source
DeriveConfig.scala
inline def customFieldNamesOf[T]: Map[String, name]

Attributes

Source
DeriveConfig.scala
inline def customNamesOf[T]: List[String]

Attributes

Source
DeriveConfig.scala
def from[A](desc: Config[A]): DeriveConfig[A]

Attributes

Source
DeriveConfig.scala

Attributes

Source
DeriveConfig.scala
inline def labelsOf[T <: Tuple]: List[String]

Attributes

Source
DeriveConfig.scala
def mergeAllFields[T](allDescs: => List[DeriveConfig[_]], productName: ProductName, fieldNames: List[FieldName], f: List[Any] => T): DeriveConfig[T]

Attributes

Source
DeriveConfig.scala
def mergeAllProducts[T](allDescs: => List[DeriveConfig[T]], typeDiscriminator: Option[String]): DeriveConfig[T]

Attributes

Source
DeriveConfig.scala

Attributes

Source
DeriveConfig.scala

Attributes

Source
DeriveConfig.scala
def tryAllKeys[A](desc: Config[A], originalKey: Option[String], alternativeKeys: List[String]): Config[A]

Attributes

Source
DeriveConfig.scala

Deprecated methods

def mergeAllFields[T](allDescs: => List[DeriveConfig[_]], productName: ProductName, fieldNames: => List[FieldName], f: List[Any] => T, g: T => List[Any]): DeriveConfig[T]

Attributes

Deprecated
use overloaded method without providing `g`
Source
DeriveConfig.scala

Givens

Givens

given chunkDesc: [A] => DeriveConfig[A] => DeriveConfig[Chunk[A]]

Attributes

Source
DeriveConfig.scala
inline given derived: [T] => Of[T] => DeriveConfig[T]

Attributes

Source
DeriveConfig.scala
given eitherConfig: [A, B] => (DeriveConfig[A], DeriveConfig[B]) => DeriveConfig[Either[A, B]]

Attributes

Source
DeriveConfig.scala

Attributes

Source
DeriveConfig.scala

Attributes

Source
DeriveConfig.scala

Attributes

Source
DeriveConfig.scala

Attributes

Source
DeriveConfig.scala
given listDesc: [A] => DeriveConfig[A] => DeriveConfig[List[A]]

Attributes

Source
DeriveConfig.scala
given mapDesc: [A] => DeriveConfig[A] => DeriveConfig[Map[String, A]]

Attributes

Source
DeriveConfig.scala

Attributes

Source
DeriveConfig.scala
given optDesc: [A] => DeriveConfig[A] => DeriveConfig[Option[A]]

Attributes

Source
DeriveConfig.scala
given seqDesc: [A] => DeriveConfig[A] => DeriveConfig[Seq[A]]

Attributes

Source
DeriveConfig.scala
given setDesc: [A] => DeriveConfig[A] => DeriveConfig[Set[A]]

Attributes

Source
DeriveConfig.scala
given vectorDesc: [A] => DeriveConfig[A] => DeriveConfig[Vector[A]]

Attributes

Source
DeriveConfig.scala