I was diagnosed with gallstones during pregnancy at 24 weeks.. I wasn’t a candidate for removal because it was pretty late in pregnancy.. I had 4/5 very intense attacks that landed me in the ER with morphine and percocet for home.. I almost went into pre term labor at 32 weeks during one of the attacks and transferred to the high risk hospital but Alhamdulillah docs were able to control the pain and let me go through the pregnancy on meds.. the pediatrician was afraid that my child will be born with withdrawals considering I was given a lot of narcotics to minimize the pain but alhamdulillah no such thing happened.
I had a c section at 39 wees and was supposed to go back after 6 weeks for the gall bladder removal but I had anoter attack 3 weeks post partum and they did an emergency operation to remove gall bladder.. it was laproscopic surgery and lasted 5 hours because I had stones sticking to my liver!!! It was supposed to be no more than 2 hours long!
Alhamdulillah I recovered well.. I had to pump and dump for a while so never got to establish the milk supply and my child was formula fed but other than that it went smoothly.
While I was pregnant I was on a very strict diet basically boiled rice and lentils is all I ate.. anything else triggered attacks and after landing in the ER for even a bite of twix chocolate I just had to suck it up and not eat anything.. at the end it got so bad that I had gall stones attack even without eating anything.
I trusted my doctors and especially the surgeon who was following me for gallstones.. he said he will remove it if needed but it will also mean the baby will need to be delivered so he was going to avoid that any cost and alhamdulillah we made it. 
hope this helps.