Closed AndreasChristianson closed 6 years ago
Yes, #59 was originally handled as a part of #77. I think this line (below) ought to be adjusted to account for ''
and false
. Perhaps it should just ensure the property exists and ignore the actual value/contents.
If no one has fixed this, I'll get a pr open in a couple days.
@AndreasChristianson Hey Andreas, good catch! Would be great if you create a PR for this. Thank you!
@AndreasChristianson catbox-redis 4.2.1
is available allowing you to cache false
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
When caching a boolean in redis, the cached value cannot be retrieved. Below is a test from the perspective of a hapi server method showing that
false
cannot be cached then retrieved.This test assumes that redis is running locally on its default port.
console output:
My naive searches turned up #59, perhaps this is related.