moaxaca / async-redis

First class async & promise support for redis.
Other
168 stars 21 forks source link

connect-redis conflicts with async-redis #24

Closed hnngo closed 5 years ago

hnngo commented 5 years ago

I am using connect-redis as a Redis session store backed by node_redis. Everything is fine if I use a normal redisClient without decorating it by async-redis. However after I decorated redisClient with async-redis, the connect-redis module seem didn't work anymore.

I hope it would be better if decorate function does not change the original redisClient and returning a new object instead

moaxaca commented 5 years ago

This has been a feature request for a while. I haven't had a lot of time to look into the library. I am going to close and use this ticket as the tracker.

https://github.com/moaxaca/async-redis/issues/21