GD and gaining weight

I was diagnosed with GD at 26 weeks, been able to keep it controlled with diet and In the beginning my weight stalled. But since reaching 34 weeks I’ve noticed that I’ve been gaining almost 2 pounds per week (im 36 weeks now.) from what I’ve read most that we’re diagnosed with GD rarely gain weight, instead they loose weight. The weird thing is that I go up almost 5-6 pounds in a day, is this all water retention? I’ve been following the diet and my numbers have been great, sometimes I have to force myself to snack or eat because food is just not appetizing anymore. Anyone else on the same boat?