Packages

o

com.digitalasset.canton.config.semiauto

CantonConfigValidatorDerivation

object CantonConfigValidatorDerivation extends manual.CantonConfigValidatorDerivation

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CantonConfigValidatorDerivation
  2. CantonConfigValidatorDerivation
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Typeclass[A] = CantonConfigValidator[A]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit macro def apply[A]: CantonConfigValidator[A]

    Manual invocation for deriving a CantonConfigValidator instance from a CantonConfigPrevalidator instance (found by implicit resolution) for the configuration A and all its subconfigurations unless implicit resolution already finds a CantonConfigValidator instance for them.

    Manual invocation for deriving a CantonConfigValidator instance from a CantonConfigPrevalidator instance (found by implicit resolution) for the configuration A and all its subconfigurations unless implicit resolution already finds a CantonConfigValidator instance for them. Implicit resolution must also find CantonConfigPrevalidator instances for all subconfigurations of A for which derivation happens.

    manual.CantonConfigValidatorDerivation should be preferred when possible because it is more predictable and usually more efficient. In particular, derivation failures can be hard to debug for semi-automatic derivation. For example, suppose that A is a case class Foo with a field i: Option[Bar] where implicit resolution does not find a CantonConfigValidator instance for Bar. The derivation sees that Option is a sealed trait of case classes None and Some and therefore attempts to derive a CantonConfigValidator instance for None and Some. The derivation for None will fail though because there is no CantonConfigPrevalidator instance for None. This makes the overall derivation fail with a rather obscure error message about implicit resolution problems.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def join[A](ctx: ReadOnlyCaseClass[Typeclass, A])(implicit prevalidator: CantonConfigPrevalidator[A]): Typeclass[A]
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. def split[A](ctx: SealedTrait[Typeclass, A]): Typeclass[A]
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped