org.sigilaris.core.application.transactions.ModuleId
See theModuleId companion object
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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article