That's fair, but do you really think your (apparently shitty) ex-boyfriend would've behaved better if, instead of telling him you suffer from highly debilitating migraines, you always said something like "no, we're not going out for dinner tonight because I have a condition", failing to ever explain what that was?
Again, if you are open about the condition, and someone responds to that knowledge poorly, that is their problem. Ignore those people. But if you keep the nature of the condition under wraps, that might make it "easier" to deal with in the short term at the cost of others being able to move forward with you at all.
In this case yes, if he didn't know I was diagnosed with migraines he would not have randomly suggested acid. He had an "evidence based" reason for thinking acid would help. I let people I'm close with know my symptoms. You can't always ignore people who you depend on.
If I tell people I get migraines pretty much all of the time they think I get bad headaches, not that I can't see, lose my ability to talk, have my arm go numb and instead it feels like my jaw is stuck in a vise, I can't look at sunlight and every noise is painful. People don't want to hear about the ways someone they know is silently suffering.