Just as long as the option remains open for players to build both a standard fighter and a racial-themed fighter, I don't have a problem with racial classes. It just shouldn't be mandatory that ALL dwarves MUST be a particular racial variant build.
They don't need to be racial themed fighters. Just racial powers. If you give dwarves some abilities that help them with heavy armor, using shield, mitigating damage and being resiliant, they'll naturally gravitate toward certain archetypes, not only fighters, but clerics, paladins or rogues as well. And they'll be unique compared to elven or gnome fighters. ! Rangers or barbarians. Same goes with elven having mobility powers, for example. If two human cultures are so different as XII century japan and XII century Aztechs or XII century vikings, imagine how diverse would be a group of cultures that dont even share race, such as goblins and dragonborns.