Miralax during pregnancy?

Alejandra
What is your input of taking miralax during a pregnancy? I was perscribed it since I was stated to not be passed stools correctly but I amd pregnant and very scared to take it as I'm afraid there will be an affect on it.