class FlowEngine::Validation::Adapter
dry-validation, JSON Schema, or other validators; the engine does not depend on a specific one.
Abstract adapter for step-level validation. Implement {#validate} to plug in
def validate(_node, _input)
-
(Result)- valid: true/false and optional errors list
Parameters:
-
_input(Object) -- the value submitted by the user -
_node(Node) -- the current step (for schema/constraints)
def validate(_node, _input) raise NotImplementedError, "#{self.class}#validate must be implemented" end