Question: do alec and magnus get married in the books?
Answer: Magnus and Alec would love to get married. They're committed to the end either way, but the reason they haven't gotten married yet is because they decided not to until there were equal privileges and rights accorded to Downworlder-Shadowhunter marriages as there are for Shadowhunter marriages.