Antidepressants while pregnant??

Has anyone taken antidepressants while pregnant? If so, did anything significant happen to the baby? My doctor told me there’s just not enough research to know exactly, so it makes me nervous taking them but at the same time I have a hard time functioning without 😢