8000 Added support for XINFO commands by vladvildanov · Pull Request #1331 · predis/predis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added support for XINFO commands #1331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 27 commits into from
Jul 27, 2023

Conversation

vladvildanov
Copy link
Contributor

Closes #998
Closes #999

vladvildanov and others added 14 commits June 7, 2023 17:05
*
10000
 Codestyle changes

* Added missing type-hints
* Added GETDEL command to KeyPrefixProcessor

* Added test coverage

* Codestyle fixes

* Added timeout after FT.CREATE call
* Fixed bug with incorrect multiple words processing

* Convert subcommand string to lower case

* Update SubcommandStrategyResolver.php

* Added test coverage

* Codestyle fixes

---------

Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
@vladvildanov vladvildanov requested review from chayim and a team June 26, 2023 12:39
@vladvildanov vladvildanov requested a review from tillkruss as a code owner June 26, 2023 12:39
@coveralls
Copy link
coveralls commented Jun 26, 2023

Coverage Status

coverage: 82.268% (+0.08%) from 82.193% when pulling 29ac6b4 on vladvildanov:vv-xinfo-commands into 292bc43 on predis:v3.x.


public function setArguments(array $arguments)
{
$this->strategy = $this->strategyResolver->resolve('X Info', strtolower($arguments[0]));
Copy link
Contributor

Choose a reason for hiding this comment

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

Name change?

Copy link
Contributor Author
@vladvildanov vladvildanov Jul 26, 2023

Choose a reason for hiding this comment

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

Yeah, I will get rid of strategies at all in 3.x. Bad design decision that was chosen that overcomplicating things

@vladvildanov vladvildanov changed the base branch from v2.x to v3.x July 26, 2023 11:39
@vladvildanov vladvildanov merged commit d8da27b into predis:v3.x Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Support new Redis 6.2 arguments for XINFO STREAM Support new Redis 6.2 arguments for XINFO GROUPS
4 participants
0