Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion crates/taurus-core/src/fixtures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,20 @@ pub struct Case {
pub struct RemoteFixture {
pub target_service: String,
pub function_identifier: String,
pub result_parameter: String,
/// Only meaningful when `sub_flow_calls` is empty: the literal-valued
/// parameter to echo straight back as this remote call's own result
/// (see `0012_remote_function_subflow.json`).
#[serde(default)]
pub result_parameter: Option<String>,
/// Positional values to drive one `ExecutionEngine::execute_sub_flow`
/// call per entry against this request's `SubFlow`-valued parameter, in
/// order -- simulates an action invoking a minted sub-flow reference
/// the same number of times a real action would (e.g. once per element
/// for a remotely-dispatched `for_each`'s consumer callback). When
/// non-empty, the remote call itself resolves to `null` once every call
/// has run, mirroring a `void`-signature remote function.
#[serde(default)]
pub sub_flow_calls: Vec<serde_json::Value>,
}

#[derive(Clone, Deserialize)]
Expand Down
Loading