Skip to main content

input_validation

Function input_validation 

Source
pub fn input_validation(
    kind: &StackInputKind,
    validation: StackInputValidation,
) -> Option<StackInputValidation>
Expand description

The validation block a stack input carries.

Every kind except boolean accepts constraints, and its definition carries a validation block even when no constraint is set ({}); a boolean carries none. This is the shape the TypeScript SDK has always produced, kept so a stack does not change when it moves between frontends.