Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently, ConditionalMutation only supports checking every Condition (AND) for satisfaction. We should be able to satisfy a set of Conditions with an (OR).
To optimize this (and the AND case), the semantics of adding Conditions to ConditionalMutation should be well-defined, such that the order they are added is preserved. This gives users a way to optimize fast-failure on AND and fast-success on OR, by adding them to the ConditionalMutation in a specific order.