Skip to content

Conversation

dhruvCW
Copy link
Contributor

@dhruvCW dhruvCW commented Aug 16, 2023

sometimes the redis options are provided as a hash with string values.

This is true in my case where the configurations are read as a json object from an environment variable.

Given that only the role is expected to be a symbol, It is a much better user experience if the conversion was handled internally by the library instead of requiring the user to handle it themselves.

sometimes the redis options are provided as a hash with string values.

Given that only the role is expected to be a symbol, It is a much better user experience if the conversion was handled internally by the library instead of requiring the user to handle it themselves.
@dhruvCW dhruvCW force-pushed the handle_string_role branch from 2d1f129 to 4aa9519 Compare August 16, 2023 12:35
@byroot byroot merged commit 4388804 into redis-rb:master Aug 16, 2023
@dhruvCW dhruvCW deleted the handle_string_role branch August 16, 2023 13:40
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.

2 participants