Dynamic slugAttribute for tenant and tenantDomain, bad?
Panels5️⃣v5
I wanted to have the option for tenants to setup a custom domain. So I added some logic to wether the slugAttribute should be uuid or domain. And all is working fine. Except when I cache the routes on production.
Is it a bad idea to have this dynamic in a PanelProvider?