Yeast infection wtf?

Last night I had some itchiness but it never developed into anything, I’m totally all good this morning. But it got me thinking what if I were to have a full blown yeast infection and go into labor? Is that problematic?