Packages

package generic

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package error

Type Members

  1. trait CoproductHint[A] extends AnyRef

    A trait that can be implemented to disambiguate between the different options of a coproduct or sealed family.

    A trait that can be implemented to disambiguate between the different options of a coproduct or sealed family.

    A

    the type of the coproduct or sealed family for which this hint applies

  2. class FieldCoproductHint[A] extends CoproductHint[A]

    Hint where the options are disambiguated by a key = "value" field inside the config.

    Hint where the options are disambiguated by a key = "value" field inside the config.

    This hint will cause derived ConfigConvert instance to fail to convert configs to objects if the object has a field with the same name as the disambiguation key.

    By default, the field value written is the class or coproduct option name converted to kebab case. This mapping can be changed by overriding the method fieldValue of this class.

  3. class FirstSuccessCoproductHint[A] extends CoproductHint[A]

    Hint where all coproduct options are tried in order.

    Hint where all coproduct options are tried in order. from will choose the first option able to deserialize the config without errors, while to will write the config as is, with no disambiguation information.

  4. trait ProductHint[A] extends AnyRef

    A trait that can be implemented to customize how case classes are read from and written to a config.

    A trait that can be implemented to customize how case classes are read from and written to a config.

    A

    the type of case class for which this hint applies

Value Members

  1. object CoproductHint
  2. object FieldCoproductHint
  3. object ProductHint

Ungrouped