My son (he is 7 months old now) was diagnosed with AVSD at 4.5 months and we were advised by his paediatric cardiologist to stop direct breastfeeding.
Dr. Dara Abiodun

Medical Doctor

I am sure you misunderstood the Paediatric cardiologist. The instruction is to give expressed breast milk instead of breastfeeding directly. Your baby still need breast milk so kindly express the breast milk. The sucking directly on the breast tires out the baby with heart conditions and make them burn off calories they could have used in gaining weight. Keep expressing so your milk does not dry off completely. This is very important