Egg yolks in salad dressings

Abby
I've heard that you shouldn't eat anything with raw egg yolks when you're pregnant. Is this true? This would mean I can't eat Chick-fil-A's alvocado lime ranch dressing 😩 and most other dressings like ranch and ceasar. I could eat Italian but it's not my fav.