I find that in some ways tech is actually easier for me as a neurodivergent person than other fields that I've worked in(restaurant and production work mostly). With tech I am able to manage my exposure to social situations much easier which is a huge trigger for me. I am diagnosed as ASD and I suffer massively from rejection dysphoria. On my worst days even an awkward snag in conversation can leave me feeling as though I've said that wrong thing, and in the past these scenarios might spin me out for days or even a week at a time.
For me, my diagnosis provided me with a framework for aspects of my personality that I thought I could brute force into compliance. Things I thought I would somehow mature out of. It also gave me access to a community with similar struggles to me which was eye opening.