Replaces request.tenant deliberately, bypassing the single-write guard.
request.tenant
multi-tenancy-plugin's tenantMiddleware calls it, for the reason replacePrincipal documents. Safe to call on a request that was never sealed.
multi-tenancy-plugin
tenantMiddleware
replacePrincipal
The request whose tenant is being replaced
The tenant to install
0.1.0
Replaces
request.tenantdeliberately, bypassing the single-write guard.multi-tenancy-plugin'stenantMiddlewarecalls it, for the reasonreplacePrincipaldocuments. Safe to call on a request that was never sealed.