Hey @kondr1, I really appreciate you taking the time to make a PR for radix, but I don't think I'm can accept this one. Redis itself has no boolean type, and what people decide in their application constitutes true or false could vary wildly. For example some might consider empty string to be false-y while all non-empty strings truth-y, and others might say the strings "0" and "false" are also false-y. Making a decision about what's what within the driver I think would cause more confusion than it would clear up.
I'm sorry I couldn't merge this in, please always feel free to submit an issue beforehand to make sure you and the maintainer agree on your approach, and I hope this doesn't discourage you from contributing in the future. Thanks!
Hey @kondr1, I really appreciate you taking the time to make a PR for radix, but I don't think I'm can accept this one. Redis itself has no boolean type, and what people decide in their application constitutes true or false could vary wildly. For example some might consider empty string to be false-y while all non-empty strings truth-y, and others might say the strings
"0"
and"false"
are also false-y. Making a decision about what's what within the driver I think would cause more confusion than it would clear up.I'm sorry I couldn't merge this in, please always feel free to submit an issue beforehand to make sure you and the maintainer agree on your approach, and I hope this doesn't discourage you from contributing in the future. Thanks!