1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 15:54:03 +00:00

categorize todos

This commit is contained in:
Samuel Štancl 2024-03-12 17:29:00 +01:00
parent a85708429e
commit a0da54cfdc
14 changed files with 18 additions and 19 deletions

View file

@ -48,7 +48,7 @@ class PathTenantResolver extends Contracts\CachedTenantResolver
public function getCacheKey(mixed ...$args): string
{
// todo@samuel: fix the coupling here. when this is called from the cachedresolver, $args are the tenant key. when it's called from within this class, $args are a Route instance
// todo@samuel fix the coupling here. when this is called from the cachedresolver, $args are the tenant key. when it's called from within this class, $args are a Route instance
// the logic shouldn't have to be coupled to where it's being called from
// todo@samuel also make the tenant column configurable