Closed talabatyMomin closed 2 years ago
When the "prefix" value comes in as "undefined" it is added to the query for keys and it returns an empty array becuase there is no key with the name "undefined{{the-rest-of-the-key}}".
currently added a customer provider with the fix
async keys(prefix) { return prefix ? this.cache.keys(${prefix}*) : this.cache.keys('*'); }
${prefix}*
Hey @talabatyMomin
Thanks for reporting the issue, I just released a patch 4.2.2, can you confirm it solves your issue ?
4.2.2
Thanks @stafyniaksacha it is working now in the patch.
When the "prefix" value comes in as "undefined" it is added to the query for keys and it returns an empty array becuase there is no key with the name "undefined{{the-rest-of-the-key}}".
currently added a customer provider with the fix
async keys(prefix) { return prefix ? this.cache.keys(
${prefix}*
) : this.cache.keys('*'); }