Skip to content

feat(PLATECO-2706): decorate predis client - #9

Closed
serhiidonii wants to merge 12 commits into
developfrom
feat/PLATECO-2706-decorate-predis-client
Closed

serhiidonii wants to merge 12 commits into
developfrom
feat/PLATECO-2706-decorate-predis-client

Conversation

@serhiidonii

Copy link
Copy Markdown

No description provided.

buchekalex
buchekalex previously approved these changes Nov 11, 2025
Comment thread .github/workflows/static-analysis.yaml Resolved
Comment thread src/Redis/RedisClientAdapter.php Resolved
zakhar-huzenko
zakhar-huzenko previously approved these changes Nov 11, 2025
$this->decorated->clear($schema === $this->resolver->getEnvironmentSchema() ? '' : $schema);
}

private function prefixKey(string $key): string

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: if SchemaAwarePRedisClient and SchemaAwareRedisAdapter are running at the same time, will they not duplicate the prefix?

/**
* @return array<array-key, string>
*/
private function getDefaultDecoratedMethods(): array

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the fact that this will need to be supported, but I don't see a more suitable option.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need to answer or do anything here, just think out loud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants