feat(wfe-yaml): auto-convert ##wfe[output] values to typed JSON (bool, number)

This commit is contained in:
2026-03-26 23:28:10 +00:00
parent ed38caecec
commit d3426e5d82
3 changed files with 17 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ workflow:
assert_eq!(greeting.as_str(), Some("hello"));
}
if let Some(count) = data.get("count") {
assert_eq!(count.as_str(), Some("42"));
assert_eq!(count.as_i64(), Some(42)); // auto-converted from string "42"
}
}
}