hunk.code_window:           "controlType": "SWITCH",
             "info": "Ask confirmation from the user each time before refreshing data"
           },
           {
             "label": "Use Prepared Statement",
             "info": "Turning on Prepared Statement makes the query parameterized. This in turn makes it resilient against SQL injections",
             "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value",
             "controlType": "SWITCH",
             "initialValue": true
           },
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:           "info": "Turning on Prepared Statement makes your queries resilient against bad things like SQL injections. However, it cannot be used if your dynamic binding contains any SQL keywords like 'SELECT', 'WHERE', 'AND', etc.",
  
hunk.file_path: app/server/appsmith-plugins/postgresPlugin/src/main/resources/setting.json
hunk.type: replace
file: import WidgetFactory from "utils/WidgetFactory";
  import { getAllPathsFromPropertyConfig } from "entities/Widget/utils";
  import _ from "lodash";
  import { DynamicPath, isDynamicValue } from "utils/DynamicBindingUtils";
  import { DSLWidget } from "widgets/constants";
  
  export const migrateIncorrectDynamicBindingPathLists = (
    currentDSL: Readonly<DSLWidget>,
  ): DSLWidget => {
    const migratedDsl = {
      ...currentDSL,
    };
    const dynamicBindingPathList: DynamicPath[] = [];
    const propertyPaneConfig = WidgetFactory.getWidgetPropertyPaneConfig(
      currentDSL.type,
    );
    const { bindingPaths } = getAllPathsFromPropertyConfig(
      currentDSL,
      propertyPaneConfig,
      {},
    );
  
    Object.keys(bindingPaths).forEach((bindingPath) => {
      const pathValue = _.get(migratedDsl, bindingPath);
      if (pathValue && _.isString(pathValue)) {
        if (isDynamicValue(pathValue)) {
          dynamicBindingPathList.push({ key: bindingPath });
        }
      }
    });
  
    migratedDsl.dynamicBindingPathList = dynamicBindingPathList;
  
    if (currentDSL.children) {
      migratedDsl.children = currentDSL.children.map(
        migrateIncorrectDynamicBindingPathLists,
      );
    }
    return migratedDsl;
  };
  