Migration

zio.schema.meta.Migration
See theMigration companion trait
object Migration

Attributes

Companion
trait
Source
Migration.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Migration.type

Members list

Type members

Classlikes

final case class AddCase(path: NodePath, node: MetaSchema) extends Migration

Attributes

Source
Migration.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
Show all
final case class AddNode(path: NodePath, node: MetaSchema) extends Migration

Attributes

Source
Migration.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
Show all
final case class ChangeType(path: NodePath, value: StandardType[_]) extends Migration

Attributes

Source
Migration.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
Show all
final case class DecrementDimensions(path: NodePath, n: Int) extends Migration

Attributes

Source
Migration.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
Show all
final case class DeleteNode(path: NodePath) extends Migration

Attributes

Source
Migration.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
Show all
final case class IncrementDimensions(path: NodePath, n: Int) extends Migration

Attributes

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

Attributes

Companion
trait
Source
Migration.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait LabelTransformation

Represents a valid label transformation.

Represents a valid label transformation.

Not currently implemented but we can use this type to encode unambiguous string transformations applied to field and case labels. For example, converting from snake to camel case (or vica versa)

Attributes

Companion
object
Source
Migration.scala
Supertypes
class Object
trait Matchable
class Any
final case class Optional(path: NodePath) extends Migration

Attributes

Source
Migration.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
Show all
final case class Recursive(path: NodePath, relativeNodePath: NodePath, relativeMigration: Migration) extends Migration

Attributes

Source
Migration.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
Show all
final case class Relabel(path: NodePath, tranform: LabelTransformation) extends Migration

Attributes

Source
Migration.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
Show all
final case class Require(path: NodePath) extends Migration

Attributes

Source
Migration.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
Show all
final case class UpdateFail(path: NodePath, message: String) extends Migration

Attributes

Source
Migration.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Migration
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

Attributes

Source
Migration.scala