Sattvic diets usually eschew onion and especially garlic. But garlic is considered to have medicinal properties (even today it is given to expectant mothers).
Does scripture make exceptions as to when non-Sattvik food can be taken?
Hinduism Stack Exchange is a question and answer site for followers of the Hindu religion and those interested in learning more about Hinduism. It only takes a minute to sign up.
Sign up to join this communityIn Charaka Samhita Chapter 27 the usage of onion and garlic as a medicine is prescribed.
Palandu – Onion(Allium cepa Linn) aggravates Kapha and alleviates Vata, but it does not alleviate Pitta. It is useful as a food. It is heavy and aphrodisiac. It promotes strength and appetite.[175]
Garlic – Lasuna (Allium Sativum Linn) cues infectious, obstinate skin disease, disease due to the vitiation of Vata and abdominal tumour. It is unctuous, hot in potency, aphrodisiac pungent and heavy.[176]
Sushruta Samhita prescribe onion as a medicine for eye injury.
As an alternative, the Gutikanjana made up of Trikatu, Palandu (onion), Yashti-madhu, Saindhava, Laksha