scoquelin / arugula

Redis client wrapper for Scala built on top of Java lettuce-core library
Apache License 2.0
2 stars 0 forks source link

Allow testing client with different codecs #15

Closed scoquelin closed 3 months ago

scoquelin commented 3 months ago

So far we only supported RedisCodec[String, String] as the default codec format for Redis key and values.

Let's try to plumb support for testing with multiple codecs, starting with RedisCodec[String, Long]

72squared commented 3 months ago

I think [String , ByteArray] might be more common. That is where I have used different codecs. You can always cast a string to longOption

72squared commented 3 months ago

I remember where the binary codec is needed ... when you dump and restore keys, the values are binary values not strings.