We don't use a dishwasher. We wash some produce from the store in an attempt to remove pesticides. Only during the depths of Winter does it include leafy greens (organic buys). Those and berries are only rinsed but even what will be peeled gets a short wash with dish-washing detergent.
Everything from the garden is rinsed, usually outdoors on the lawn. We use a large basin like what can be found in hardware stores for mixing concrete. Lettuce leaves are rinsed again in the kitchen sink and DW uses her salad spinner before they go in bags and the fridge.
I don't know if I can recommend this — especially the dishwashing soap but ... With that fuss, my dishwasher went to the dump shortly after DW came to live with me. She didn't trust it to do a proper job. Scrubbing pots and almost always having dishes in the drainer is part of the price we pay. We also have a colander with a tray under it sitting around the kitchen during the garden season on a nearly daily basis.
Steve, probably with a fairly low insect supplemented diet
When washing veggies I use a colander that has handles that pull out on the sides and spread across the sink allowing both hands to remain free. The colander is quite large. I can use 4 of these at once 2 on each side of the sink, gets the job done. Also placing veggies out to dry on boards made from diatomaceous earth absorbers water much faster and by adding a fan on low expedites the whole process.
It seems like a dishwasher could use far more water than needed to clean the veggies. Even in the short cycle and then the air drying .. in a closed machine…