Packages

p

org.scanamo

semiauto

package semiauto

Semi-automatic format derivation.

This object provides helpers for creating org.scanamo.DynamoFormat instances for case classes

Typical usage will look like the following:

import org.scanamo.semiauto._

case class Bear(name: String, favouriteFood: String)
object Bear {
  implicit val formatBear: DynamoFormat[Bear] = deriveDynamoFormat[Bear]
}
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. semiauto
  2. SemiAutoDerivation
  3. DerivedDynamoFormat
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait CoProductDynamoFormat[T] extends DynamoFormat[T]
    Definition Classes
    DerivedDynamoFormat
  2. trait ConstructedDynamoFormat[T] extends AnyRef
    Definition Classes
    DerivedDynamoFormat
  3. trait InvalidConstructedDynamoFormat[T] extends ConstructedDynamoFormat[T]
    Definition Classes
    DerivedDynamoFormat
  4. trait ValidConstructedDynamoFormat[T] extends ConstructedDynamoFormat[T]
    Definition Classes
    DerivedDynamoFormat
  5. type NotSymbol[T] = <:!<[T, Symbol]
    Definition Classes
    DerivedDynamoFormat
  6. type ValidatedPropertiesError[T] = Validated[InvalidPropertiesError, T]
    Definition Classes
    DerivedDynamoFormat

Value Members

  1. implicit val cnil: CoProductDynamoFormat[CNil]
    Definition Classes
    DerivedDynamoFormat
  2. implicit def coproduct[K <: Symbol, V, T <: Coproduct](implicit headFormat: Lazy[DynamoFormat[V]], tailFormat: CoProductDynamoFormat[T], fieldWitness: Aux[K]): CoProductDynamoFormat[:+:[FieldType[K, V], T]]
    Definition Classes
    DerivedDynamoFormat
  3. final def deriveDynamoFormat[A](implicit exported: Exported[DynamoFormat[A]]): DynamoFormat[A]
    Definition Classes
    SemiAutoDerivation
  4. implicit def genericCoProduct[T, R](implicit gen: Aux[T, R], formatR: Lazy[CoProductDynamoFormat[R]]): Exported[DynamoFormat[T]]
    Definition Classes
    DerivedDynamoFormat
  5. implicit def genericProduct[T, R](implicit arg0: NotSymbol[T], gen: Aux[T, R], formatR: Lazy[ValidConstructedDynamoFormat[R]]): Exported[DynamoFormat[T]]
    Definition Classes
    DerivedDynamoFormat
  6. implicit def hcons[K <: Symbol, V, T <: HList](implicit headFormat: Lazy[DynamoFormat[V]], tailFormat: Lazy[ConstructedDynamoFormat[T]], fieldWitness: Aux[K]): ValidConstructedDynamoFormat[::[FieldType[K, V], T]]
    Definition Classes
    DerivedDynamoFormat
  7. implicit val hnil: InvalidConstructedDynamoFormat[HNil]
    Definition Classes
    DerivedDynamoFormat

Inherited from SemiAutoDerivation

Inherited from DerivedDynamoFormat

Inherited from AnyRef

Inherited from Any

Ungrouped