Type 1 diabetes inherited?

I’m 5 weeks pregnant with my first. My partner has type 1 diabetes and has done since the age of 5, his dad also has it and so did his grandad. I am wondering if it’s going to be passed down to our baby?