You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
way-dsl: typed full targets with ancestor payloads #21
A generated target has a short form and a full form. The full form carries a payload for every parameterized node on the path, e.g. Target.app.packageDetails(eSimId, packageId). The runtime uses those payloads to rebuild ancestors that are not alive. It is needed for a cold start, FlowNode.initial, deep links, or a jump into a branch that is not alive.
The DSL only has short targets: ref.target(payload) carries the node's own payload. The workaround is AbsoluteTarget, but its path and payload map are built by hand with no type checks.
Proposal: a typed full-target overload on DSL refs, e.g. ref.target(ancestorPayload1, ..., payload) or a builder. Requirements:
It is additive, so the existing target(...) API stays unchanged.
With fan-in it combines with via = parent, mirroring the generated permViaB(bId, reason).
Acceptance: a parity test in DslParityTest where the generated full target and the DSL full target, sent cold into a non-alive branch, produce the same alive paths and payloads.
Activity
Fix #19-#22, NodeHost autoStart, release 0.13.0 (#23)
rinekri commentedon Nov 9, 2026
Fixed in #23 (1d25d49), released in 0.13.0.