Could prediabetes have caused your craving for sweets? It happens even without family history.
I was only diagnosed pre-diabetic (fasting glucose > 100) the last year before I blossomed into a full-blown diabetic.
My parents were pretty strict about sweets, but once I was on my own my diet quickly spiraled into an orgy of chocolate & sugar.