We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf00371 commit aab5232Copy full SHA for aab5232
modules/core/src/main/scala/dev/profunktor/redis4cats/effect/MkRedis.scala
@@ -17,7 +17,6 @@
17
package dev.profunktor.redis4cats.effect
18
19
import scala.annotation.implicitNotFound
20
-import scala.annotation.nowarn
21
22
import cats.effect.kernel._
23
import dev.profunktor.redis4cats.connection.{ RedisClient, RedisClusterClient, RedisURI }
@@ -58,9 +57,10 @@ sealed trait MkRedis[F[_]] {
58
57
object MkRedis {
59
def apply[F[_]: MkRedis]: MkRedis[F] = implicitly
60
61
- @nowarn
62
implicit def forAsync[F[_]: Async: Log]: MkRedis[F] =
63
new MkRedis[F] {
+ private implicit val implicitThis: MkRedis[F] = this
+
64
def clientFrom(strUri: => String): Resource[F, RedisClient] =
65
RedisClient[F].from(strUri)
66
0 commit comments