@Tourma @flesh Onion flies do, though, so it's not entirely without its problems. Though that's unlikely to be a problem if you grow them at a small scale.
One of the more amusing things to me is that apparently, the smell of onions repels carrot flies, and the smell of carrots... repels onion flies.