In some cases, pregnancy hormones can make the insulin in your body not work as well as it should, especially if you have a family history of diabetes.
If left untreated, this can be very harmful to your baby. One problem is excessively large growth, and another is very low blood sugar after birth.
These complications (and others) can be prevented. The key is careful control of blood sugar levels as soon as the diagnosis is made.