Changed plans

How do I handle what I want to do, and what my family wants to do are opposites?

I want to go to my in-laws, but they ask us to wear masks, which I can’t do for the amount of time I want to spend there. “Complying” would be people-pleasing, and that’s not something I want to do anymore.