INNER CODE UNIT · Go
propValue
dikhan/terraform-provider-openapi · openapi/common.go:136
propValue = processIgnoreOrderIfEnabled(*property, desiredValue, propertyRemoteValue)
}
value, err := convertPayloadToLocalStateDataValue(property, propValue)
if err != nil {
return err
}
if value != nil {
if err := setResourceDataProperty(*property, value, resourceLocalData); err != nil {
return err
}
}
}
return nil
}
// processIgnoreOrderIfEnabled checks whether the property has enabled the `IgnoreItemsOrder` field and if so, goes ahead
// and returns a new list trying to match as much as possible the input order from the user (not remotes). The following use