New Shimano Di2 Dura-Ace R9200 & Ultegra R8100

What would you do if you have force on a gravel bike and a mountain derailleur? I’ve seen some folks do a GX or higher trim derailleur to run a 10-50 cassette?