It’s interesting comparing undergrad, where your grades generally don’t matter, and just the diploma does, to law school, where grades DEFINITELY mattered. From getting onto journals, to applying for internships and jobs mid-semester and during the summer, grades were HUGELY important.
That being said, I think it also depends on which law school you went to. Someone who went to Harvard Law and had a shitty GPA will probably get a job over someone who went to Syracuse University and was on Dean’s List all three years, but not always. A lot of opportunities in law school come from clerking for judges, and they’re much more likely to dive deep into someone’s resume and GPA than a random law firm or government agency. I know a lot of government jobs require you to have a law school GPA above a certain number or be in a certain percentage of your graduating class.
I’m not sure about medical school or other “professional degrees.”