struct AutomationValidationIssue
extension AutomationValidationIssue : Equatable, Sendable
Validation issues that makes the automation invalid. A valid automation should have the following properties:
- Semantic correctness: The automation graph should follow some rules in order to be executed as expected,
- Valid expression tree : The expression should be compilable and evalable.
- Prevent abuse: Automation Platform Abuse Prevention. All operations should be supported by the entity capabilities.
-
The node for which validation is failing.
Declaration
Swift
var node: any Node
-
The severity of the validation issue.
Declaration
Swift
var severity: ValidationIssueSeverity
-
The type of the validation issue.
Declaration
Swift
var issueType: ValidationIssueType
-
Undocumented
Declaration
Swift
init(node: any Node, severity: ValidationIssueSeverity, issueType: ValidationIssueType)
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
a
andb
,a == b
implies thata != b
isfalse
.Declaration
Swift
static func == (lhs: AutomationValidationIssue, rhs: AutomationValidationIssue) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.