feat(wfe-yaml): auto-convert ##wfe[output] values to typed JSON (bool, number)
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user