profunktor / redis4cats

:bookmark: Redis client built on top of Cats Effect, Fs2 and Lettuce
https://redis4cats.profunktor.dev/
Apache License 2.0
351 stars 83 forks source link

Expose COPY method #862

Closed andriibutko closed 5 months ago

andriibutko commented 7 months ago

Hey, I have a need for the copy method, which is currently not exposed. I want to contribute to it, but first, I want to understand if it aligns with the lib's vision.

@profunctor WDYT?

gvolpe commented 7 months ago

I see nothing wrong with adding that method, can be done here: https://github.com/profunktor/redis4cats/blob/series/1.x/modules/effects/src/main/scala/dev/profunktor/redis4cats/algebra/keys.scala#L26

In the meantime, users can use the unsafe API for any unsupported command that is supported by Lettuce.