Operation

zio.blocks.schema.patch.DynamicPatch.Operation
See theOperation companion trait
object Operation

Attributes

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

Members list

Type members

Classlikes

final case class MapEdit(ops: Chunk[MapOp]) extends Operation

Apply map edit operations. Used for adding, removing, or modifying map entries.

Apply map edit operations. Used for adding, removing, or modifying map entries.

Attributes

Source
DynamicPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Operation
class Object
trait Matchable
class Any
Show all
final case class Patch(patch: DynamicPatch) extends Operation

Apply a nested patch. Used to group multiple operations that share a common path prefix, avoiding path repetition in nested structures.

Apply a nested patch. Used to group multiple operations that share a common path prefix, avoiding path repetition in nested structures.

Attributes

Source
DynamicPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Operation
class Object
trait Matchable
class Any
Show all
final case class PrimitiveDelta(op: PrimitiveOp) extends Operation

Apply a primitive delta operation. Used for numeric increments, string edits, temporal adjustments, etc.

Apply a primitive delta operation. Used for numeric increments, string edits, temporal adjustments, etc.

Attributes

Source
DynamicPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Operation
class Object
trait Matchable
class Any
Show all
final case class SequenceEdit(ops: Chunk[SeqOp]) extends Operation

Apply sequence edit operations. Used for inserting, appending, deleting, or modifying sequence elements.

Apply sequence edit operations. Used for inserting, appending, deleting, or modifying sequence elements.

Attributes

Source
DynamicPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Operation
class Object
trait Matchable
class Any
Show all
final case class Set(value: DynamicValue) extends Operation

Set a value directly (clobber semantics). Replaces the target value entirely.

Set a value directly (clobber semantics). Replaces the target value entirely.

Attributes

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

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala