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
<conditional>
<!-- Allow one of the following condition types -->
<if-any>
<!-- rules here -->
</if-any>
<if-all>
<!-- rules here -->
</if-all>
<if-none>
<!-- rules here -->
</if-none>
<if-someatLeast="x"atMost="y">
<!-- rules here -->
</if-some>
<!-- Allow one each of following consequences -->
<then>
<!-- rules here -->
</then>
<else>
<!-- rules here, could also be conditionals if you wanted to have "else if" behavior -->
<else>
</conditional>
Rather than code additonal thing to support on top of our nested rules conditional structure, I'd rig it up so that the validation parser creates Conditional objects (or whatever the implementation is) when it reads nested rules. So a nested rule would essentially parse as a conditional if-any with only one condition rule and the children as the "then" consequences.
The text was updated successfully, but these errors were encountered:
Thinking like:
Rather than code additonal thing to support on top of our nested rules conditional structure, I'd rig it up so that the validation parser creates Conditional objects (or whatever the implementation is) when it reads nested rules. So a nested rule would essentially parse as a conditional if-any with only one condition rule and the children as the "then" consequences.
The text was updated successfully, but these errors were encountered: