Are people with diabetes actually immunocompromised?

I've always heard that since I have diabetes I'm considered immunocompromised, but with the increased visibility of this sort of thing lately I've been seeing conflicting things. Are people with diabetes actually immunnocompromised or is it only in situations where you have poor control of your blood sugar?