You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 4.7.0 outputs object { name: 'CaptainCodeman' }
Version 5.0.0 outputs string {"name":"CaptainCodeman"}
Strangely, it doesn't seem to be consistent - some data / keys work as expected and others don't, some work and then stop working at a certain point in the code, it's very odd.
The data in redis itself is always identical and is JSON:
Node.js Version
v22.11.0
Redis Server Version
7.4.2
Node Redis Version
5.0.0
Platform
macOS
Logs
The text was updated successfully, but these errors were encountered:
Description
I have two separate projects that have the same issue after upgrading from 4.7.0 to 5.0.0, and downgrading back to 4.7.0 fixes the issue on both.
json.get
occasionally returns the result as a single string instead of json, likeJSON.parse
isn't being used.Given this code:
Version 4.7.0 outputs
object { name: 'CaptainCodeman' }
Version 5.0.0 outputs
string {"name":"CaptainCodeman"}
Strangely, it doesn't seem to be consistent - some data / keys work as expected and others don't, some work and then stop working at a certain point in the code, it's very odd.
The data in redis itself is always identical and is JSON:
Node.js Version
v22.11.0
Redis Server Version
7.4.2
Node Redis Version
5.0.0
Platform
macOS
Logs
The text was updated successfully, but these errors were encountered: