All the information I found on the internet regarding the H-1B visa leads me to believe that the spouse of an H-1B visa holder is automatically eligible for an H4 visa.
H-1B visa holders can bring their spouse and children under 21 years of age to the US under the H4 Visa category as dependents.
Source: workpermit.com
Your spouse and unmarried children under 21 years of age may seek admission in the H-4 nonimmigrant classification.
Source: uscis.gov
When applying for an H4 visa, is there any discrimination against (or disqualification of) spouses who very recently got married to an H-1B visa holder?
The reason why I'm interested is because there is a crucial benefit at my current job that I would have to trade off if I get married. The transition between jobs would be a perfect time to for me to (legally) get married, but if that hurt my spouse's chances at getting an H4 visa, we would have to rethink that.