Skip to content

The cache override does not use patterns for the prefix #113

@ollieread

Description

@ollieread

The service override for the cache service does not currently use the pattern functionality found in both the identity resolvers and other service overrides, such as the filesystem override.

The current implementation assumes an exact value, or generates one from the tenancy and tenant key.

protected function getStorePrefix(array $config, Tenancy $tenancy, Tenant $tenant): string
{
return (isset($config['prefix']) ? $config['prefix'] . '_' : '')
. $tenancy->getName()
. '_'
. $tenant->getTenantKey();
}

I assume this was simply missed when I refactored things to use the placeholder approach.

Metadata

Metadata

Assignees

Labels

status: acceptedThe issue has been accepted/acknowledged and is being actioned or will betype: refactorRefactoring of code

Type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions