Client behavior when decoding a response failed #2221
Yury-Fridlyand
started this conversation in
General
Replies: 1 comment
-
There is also the case where a user decodes using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use a pop-ish command to pop an element from a collection and it fails, because the element cannot be represented as a string. I don't receive a popped element, but it is removed from the data set. Second pop will never return it, so that element unrecoverably lost.
See example on node client:
GLIDE clients should provide a better error experience in such cases. The documentation should be also updated to notify users to be extra cautious if there a change to receive a binary data as a response, while deleting this data on server side (
getdel
, all pop commands).Beta Was this translation helpful? Give feedback.
All reactions