Hi and welcome,
Whatever the diagnosis, it seems your body is showing an intolerance to carbs - sugar is only one type of carb, so my advice is to keep on fighting and not relax into complacency. Your HbA1c is only just normal, and as it is a sort of average of the previous 2 to 3 months it could be taken as a warning to you. You didn't say what your fasting glucose was - was it above 7mmol/l?
My HbA1c on diagnosis in 2014 was 53. I was sent away without any medication, just advice about lifestyle changes. I have never needed drugs in all these 5+ years. There are many of us in this position on this forum, and many others that began with drugs and then came off them. Some T2s have been able to come off insulin injections.
Have a good read round and ask as many questions as you like.