First off homosexuals in the military have been a nationwide issue since the crusades, and as for the U.S. military, it’s been unconstitutional since George Washington commanded the army in 1778. And in 1916 the U.S military explicitly prohibited homosexuality in the Articles of War of 1916, even though the ban wasn’t heavily enforced until WW 2. During this era millions of men conscripted for the war effort were rejected for being gay. In 1992 governor Bill Clinton promised to lift the ban on gays in the military if elected president, thus entered the “Don’t ask don’t tell” policy. Although this was a bit of an upgrade from before Congress still passed a law to keep opening gay men and women from serving in the military. Therefore gays were allowed to serve as long as they didn’t tell about their sexual orientation. And although the Pentagon agreed to stop asking about sexuality in recruitment forms and interviews (apart of the Military Personnel Eligibility Act of 1993), it never agreed to stop investigating whether those serving in the military were gay. Hence, since 1994 more than 12000 service members have been dismissed because of homosexuality.
A real life example of the life that homosexuals had to live under the DADT policy is a situation in which an Army officer and his partner who was also a man spent their last dinner together at an