momentohq/client-sdk-rust

Audit debug printing

Closed this issue · 0 comments

Bug bashers noted that they expected GetValue to print strings, but instead saw raw_item: [ bytes ]

We should probably refer to the dotnet SDK and add util methods to truncate really long raw values and show what they'd look like when we convert bytes to strings

Should also audit usage of the Debug macro and make sure it's available on everything that users might want to print out