dragonflydb / dragonfly

A modern replacement for Redis and Memcached
https://www.dragonflydb.io/
Other
25.81k stars 948 forks source link

Fix error messages for the JSON commands #3777

Open BagritsevichStepan opened 1 month ago

BagritsevichStepan commented 1 month ago

Sometimes users receive other errors unlike Redis for JSON. In addition, error messages may vary depending on the version of the json path (V2 or legacy).

The errors are also different for --jsonpathv2=true and --jsonpathv2=false. This is unexpected behavior and should be fixed.

romange commented 1 month ago

True, but I consider these issues as really minor, because I am not aware of specific user usecases that break because of it.