ModuleId

org.sigilaris.core.application.transactions.ModuleId
See theModuleId companion object
final case class ModuleId[Path <: Tuple]

Module identifier carrying the module-relative path.

IMPORTANT: The path is always module-relative (MName *: SubPath), never prefixed with the mount path. This ensures transactions remain portable across different deployment paths.

The path tuple identifies which module a transaction belongs to. During blueprint composition, the path is used to route transactions to the correct reducer by matching the first segment (module name).

Value parameters

path

the module-relative path tuple (e.g., ("accounts" *: EmptyTuple) or ("accounts" *: "v1" *: EmptyTuple))

Attributes

Example
// A transaction for the "accounts" module
val moduleId = ModuleId("accounts" *: EmptyTuple)
// Even when the module is mounted at ("app"), the moduleId stays ("accounts")
// The full path ("app", "accounts") is only constructed at system boundaries
Companion
object
Source
Model.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product