dice icon indicating copy to clipboard operation
dice copied to clipboard

fix: issue #1115 handling integer parsing in SETBIT in certain situation

Open kaushal-003 opened this issue 1 year ago • 0 comments

This PR closes issue #1115:

Description:

  • Updated ByteSliceToObj function to handle integer parsing more robustly. If the modified byte array can't be parsed as an integer, it now defaults to a string format(similar to how redis handles it).
  • added corresponding unit test with expected output.

kaushal-003 avatar Oct 19 '24 13:10 kaushal-003