manual_flow_try_to_fix_missing_field

Function manual_flow_try_to_fix_missing_field 

Source
pub async fn manual_flow_try_to_fix_missing_field<S: GrowerFlowStrategy>(
    strategy: &S,
    partial_model: &mut PartiallyGrownModel,
    grower_inputs: &GrowerInputs,
    error: &GrowerModelGenerationInvalidPartial,
    cli: &ManualGrowerFlowCliArgs,
) -> Result<(), ManualGrowerFlowError>
Expand description

Called when validation of the partial model fails with a known “missing partial” error. We query the FlowStrategy to see if it can fill in the missing piece automatically or by prompting the user.