FieldAdded

io.github.vigoo.desert.Evolution$.FieldAdded
final case class FieldAdded[F](name: String, default: F) extends Evolution

Add a new field to a case class

New version can still read old with the use of default. Old version can only read if F is Option[T] and the value is None.

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Evolution
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product