Skip to content
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

Allow more parameters to be sent to Predis Client #6

Merged
merged 2 commits into from Mar 31, 2021

Conversation

sgenov
Copy link
Contributor

@sgenov sgenov commented Mar 17, 2021

I had a case where I needed to provide a password to connect to Redis and the current code did not allow it.
Since everything from the Suite configuration goes to the this->config array, we can simply provide it and allow the user to set the password property
This will also allow for other specific configurations

I had a case where I needed to provide a password to connect to Redis and the current code did not allow it.
Since everything from the Suite configuration goes to the this->config array, we can simply provide it and allow the user to set the password property
This will also allow for other specific configurations
@Naktibalda
Copy link
Member

Please document usage of other parameters in the docblock above the class.

@cybd
Copy link

cybd commented Mar 29, 2021

I also need these parameters to pass username and password

I added the full config to Predis' client, so the developer can pass username/password and/or other options. This commit adds some description above.
@sgenov
Copy link
Contributor Author

sgenov commented Mar 31, 2021

@Naktibalda done

@Naktibalda Naktibalda merged commit 83c6db3 into Codeception:master Mar 31, 2021
@Naktibalda
Copy link
Member

I released new version 1.1.0.

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.

None yet

3 participants