Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

json.num* operations should treat integers as such #55

Closed
gkorland opened this issue Sep 8, 2019 · 1 comment
Closed

json.num* operations should treat integers as such #55

gkorland opened this issue Sep 8, 2019 · 1 comment
Assignees

Comments

@gkorland
Copy link
Contributor

gkorland commented Sep 8, 2019

127.0.0.1:6379> JSON.set test . '{ "foo": 0, "bar": "baz" }'
OK
127.0.0.1:6379> JSON.NUMINCRBY test .foo 1
"1.0"

Should have return

"1"
@gkorland gkorland self-assigned this Sep 8, 2019
@gkorland
Copy link
Contributor Author

gkorland commented Sep 8, 2019

if both existing and input are Integers the results should stay integer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant