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

Remove authorize convenience command method #27

Merged
merged 1 commit into from
Mar 28, 2019
Merged

Conversation

Mordil
Copy link
Collaborator

@Mordil Mordil commented Mar 28, 2019

Motivation:

As this command is embedded in the creation of a RedisConnection and you authorize an entire connection to a Redis instance - this command serves no purpose and could make it easier for users to shoot themselves in the foot.

Results:

authorize(with:) convenience method is removed, and the RedisConnection.connect method now sends a raw command

Motivation:

As this command is embedded in the creation of a `RedisConnection` and you authorize an entire connection to a Redis instance - this command serves no purpose and could make it easier for users to shoot themselves in the foot.

Results:

`authorize(with:)` convenience method is removed, and the `RedisConnection.connect` method now sends a raw command
@Mordil Mordil merged commit 0797c3f into master Mar 28, 2019
@Mordil Mordil deleted the remove-authorize branch March 28, 2019 06:08
@Mordil Mordil added this to the 1.0.0 milestone Jun 6, 2019
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

1 participant