I worry about this as well. My boys are three years old and 10 months old. I was undiagnosed for the entire pregnancy with my older son and part of the pregnancy with my younger one. I breastfed for as long as I could and I give them Vitamin D supplements.
Both my husband’s parents have T2, but so far he’s good. He’s 38.