debasishg / scala-redis

A scala library for connecting to a redis server, or a cluster of redis nodes using consistent hashing on the client side.
1.02k stars 219 forks source link

How to create parser from object? #266

Open egorsmth opened 3 years ago

egorsmth commented 3 years ago

I need to do something like this

case class Product(id: String, v: Int, w: Long)

connection.hgetall[Task, String, Product](...)