-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle root path '.' correctly in JSON.OBJLEN command #603
Comments
@JyotinderSingh pls assign this to me. |
Assigned. |
@AshikBN Are you working on this? If not I would like to pick this up |
i have not yet, you can start if you are interested |
@JyotinderSingh I am also interested to work on this issue |
Hello @AshikBN, There has been no activity on this issue for the past 5 days. We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work. Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out. Thanks again. |
Hey @JyotinderSingh, requesting you to assign this to me. Would like to fix this particular case. |
Assigned |
The current implementation of
JSON.OBJLEN
does not correctly handle the root path '.'. This needs to be fixed to align with Redis behavior.Current behavior:
When using
JSON.OBJLEN doc .
, the library is unable to parse it and returns an error.Expected behavior:
JSON.OBJLEN doc .
should return the length of the complete parent object, consistent with Redis behavior.Additional context:
integration_tests/commands/json_test.go
Tasks:
evalJSONOBJLEN
functionThe text was updated successfully, but these errors were encountered: