It says in SA OC Siman 321 Sif 19 in the Rema that normally it's ossur to peel garlic or onions however that's only to leave them to eat at a later time. However if it's being done to eat right away then it's muter. The reason it's ossur if not eaten immediately because of the malacha of "borer". The Biur Halacha explains however that if peeling is a problem of borer then even to eat immediately should be ossur. He explains that since it's impossible to eat any other way that this because the "derech achilah" (way of eating) and is not considered to be like taking the "poseles m'toch ochel". See there for more.
My question is, what about if a person is peeling an onion by the night of Shabbos to use it in a dish that he will only eat Shabbos day. He wants the onions to be there together with the other food from now in order to absorb the taste more (for example he's mixing together herring with onions, oil, salt and perhaps some other ingredients.) Granted he's only eating it tomorrow but the eating will only start after the dish has been prepared properly. And not that he is "preparing" now in a way that it could be eaten right away, on the contrary he can't or doesn't want to eat it now but is only able to do the action of peeling now.
Is this muter to do and would be included in the definition of "derech achilah"?