dragonflydb / dragonflydb/dragonfly

Fix error messages for the JSON commands

Open
#3,777 1 comment 0 reactions 0 assignees View on GitHub
bug minor
Dominant language
C++
Stars
31.5k
Forks
1.3k
Avg merge
1d 10h
Merged PRs (30d)
137

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start with the JSON commands and compare their error responses with Redis, checking both --jsonpathv2=true and --jsonpathv2=false as well as legacy and V2 JSONPath behavior. Done means equivalent errors no longer vary unexpectedly by JSONPath version or flag setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.