I've been regularly asked by my employer to change role to help some other part of the business. Whether it was switching from mobile to server, server to front end web, or switching frameworks / tools within those domains, I always made the switch.
The problem is that now I'm a jack of all trades, and a master of none.
“I’m a master generlized problem solving machine, how can I be of service?”
If you're the jack of all trades guy, you'll always be asked to cleanup, or take care of small feature requests. When the company needs the big guns for a mission critical feature, you will never be called.
This is an important point for people to realize. There's risks at specializing for sure, but there's also a lot of risk to being a jack of all trade.
Granted i climbed the ladder in mid size non-hot companies so may not be applicable.
Im currently a consultant in my trade and I appear to sell this ONE thing but in every case i end up solving problems as a generilist.
Is there a chance that you can claim that you are already an expert in one the things you do? sometimes other people’s bar for expertise is lower than yours.
Everything that was valuable in 2001 is still of about the same value now. But the mechanics who didn't want to diagnose electronics and the accountants who refused to learn computers and the programmers who only wanna write php have seen their skills reduced in value because they did not maintain currency.
Being responsible for the work output of other people and doing your job somewhere unpleasant or dangerous pretty much always increases your pay.