How The Mandalorian is bypassing Hollywood's Racial Codes using Aliens
Just food for thoughts.
Only a small percentage of the characters in the series until now were humans. If you focus on them, you'll see that they follow Hollywood's Racial Codes.
You have the usual white caucasian males portraying violent thugs at the beginning (check). You have Werner Herzog and some imperial soldiers portraying usual nazi-esque white male villains (check). You have the usual black secondary playing some kind of smooth streetwise manager (check). This character, played by Carl Weather, is charming, experienced, tired but self-confident, smooth but streetwise... it's the same archetype that the one played by Idris Elba in Prometheus, it's one of the Racial Archetypes for Black Characters in modern Hollywood.
The problem with characters that follow the Racial Codes in Hollywood is that they're boring, both positive and negative (white-male) ones, both are boring. So, how do you get some interesting character? The answer: you make it an Alien.
Think about Kuiil, the main secondary in the series, the guy who is helping The Mandalorian. Could he have been a white male? Nope, the character is positive, and that means that using a white male actor would be politically incorrect. Could he have been black? Neither. The character is quirky sometimes, and using a black actor would be considered racist. The problem with interesting characters is that they usually don't fit in Hollywood's Racial Codes.
How do you solve it? You make it an Alien. Being non-human, Kuiil doesn't have to follow the Racial Codes.
Indeed, think about the most interesting characters in the series until now: they're Aliens.