You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected: The tenant route parameter should always be forgotten.
Actual: The tenant route parameter is only forgotten on the initial request. Cached requests fail, because of a controller method parameter mismatch.
Laravel version
10.37.3
stancl/tenancy version
3.7.2
The text was updated successfully, but these errors were encountered:
Bug description
https://github.com/archtechx/tenancy/blob/0b248f937dd4799aa42ecdbd2fc73c05ddb943bb/src/Resolvers/PathTenantResolver.php#L30C28-L30C28
Steps to reproduce
Set PathTenantResolver::$shouldCache = true;
Expected behavior
Expected: The tenant route parameter should always be forgotten.
Actual: The tenant route parameter is only forgotten on the initial request. Cached requests fail, because of a controller method parameter mismatch.
Laravel version
10.37.3
stancl/tenancy version
3.7.2
The text was updated successfully, but these errors were encountered: