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

Deprecate connection-related methods on commands API #2028

Closed
mp911de opened this issue Mar 1, 2022 · 0 comments
Closed

Deprecate connection-related methods on commands API #2028

mp911de opened this issue Mar 1, 2022 · 0 comments
Labels
type: feature A new feature
Milestone

Comments

@mp911de
Copy link
Collaborator

mp911de commented Mar 1, 2022

Our commands API has a strong binding to their connection by exposing the connection, open state, reset, command flushing, and getStatefulConnection methods. To restrict the number of possible ways to achieve something, we should guide users towards using the StatefulConnection and remove those methods on the commands API. Going forward, the cleanup can help to achieve codec-switching in the future.

@mp911de mp911de added the type: feature A new feature label Mar 1, 2022
@mp911de mp911de added this to the 6.2.0 milestone Mar 1, 2022
mp911de added a commit that referenced this issue Mar 1, 2022
Deprecate connection-related methods on the command interfaces to hide the connection and in preparation for removal with Lettuce 7.
@mp911de mp911de closed this as completed Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A new feature
Projects
None yet
Development

No branches or pull requests

1 participant