Migration

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

Attributes

Companion
trait
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

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

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

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

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

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

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

Attributes

Companion
trait
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
Supertypes
class Object
trait Matchable
class Any
final case class Optional(path: NodePath) extends Migration

Attributes

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

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

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

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

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

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods