Is anyone with Gestational Diabetes having a C section?

Beth
I was told because my gestational diabetes isn't controlled that it makes sence to have a C section... Has anyone else been told this