diff --git a/core/src/main/scala-3/fly4s/core/data/Fly4sConfig.scala b/core/src/main/scala-3/fly4s/core/data/Fly4sConfig.scala index ae7ed2f..1349fb9 100644 --- a/core/src/main/scala-3/fly4s/core/data/Fly4sConfig.scala +++ b/core/src/main/scala-3/fly4s/core/data/Fly4sConfig.scala @@ -49,9 +49,9 @@ case class Fly4sConfig( skipDefaultCallbacks: Boolean = defaultSkipDefaultCallbacks, skipDefaultResolvers: Boolean = defaultSkipDefaultResolvers ) extends Fly4sConfigContract -object Fly4sConfig extends Fly4sConfigBuilder { +object Fly4sConfig extends Fly4sConfigBuilder: - implicit class Fly4sConfigFluentConfigOps(i: Fly4sConfig) { + extension(i: Fly4sConfig) def withConnectRetries(connectRetries: Int): Fly4sConfig = i.copy(connectRetries = connectRetries) @@ -162,5 +162,3 @@ object Fly4sConfig extends Fly4sConfigBuilder { def withSkipDefaultResolvers(skipDefaultResolvers: Boolean): Fly4sConfig = i.copy(skipDefaultResolvers = skipDefaultResolvers) - } -}