Skip to content

Commit

Permalink
Update smithy4s to 0.17.11 (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz committed Jul 16, 2023
1 parent 73d51cc commit 9859d7e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Expand Up @@ -296,7 +296,7 @@ object OperationRunner {
)

val getInternal: IorNel[Issue, OperationRunner[F]] = runners.reduce(
IorUtils.orElseCombine[NonEmptyList[Issue], OperationRunner[F]]
IorUtils.orElseCombine[NonEmptyList[Issue], OperationRunner[F]](_, _)
)

def get(
Expand Down
Expand Up @@ -21,6 +21,8 @@ import smithy4s.aws.AwsEnvironment
import smithy4s.aws.http4s.AwsHttp4sBackend
import smithy4s.aws.kernel.AwsRegion

import scala.concurrent.duration._

trait ServerBuilder[F[_]] {

def build(
Expand Down Expand Up @@ -58,7 +60,12 @@ object ServerBuilder {

for {
client <- makeClient
awsEnv <- AwsEnvironment.default(AwsHttp4sBackend(client), AwsRegion.US_EAST_1).memoize
awsEnv <-
AwsEnvironment
.default(AwsHttp4sBackend(client), AwsRegion.US_EAST_1)
// workaround for https://github.com/disneystreaming/smithy4s/issues/1075
.timeout(1.second)
.memoize
tdm <- TextDocumentManager.instance[F].toResource
} yield new ServerBuilder[F] {
private implicit val textManager: TextDocumentManager[F] = tdm
Expand Down
4 changes: 2 additions & 2 deletions project/plugins.sbt
@@ -1,9 +1,9 @@
ThisBuild / libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always

addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.11")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.2")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.3")

addSbtPlugin("com.disneystreaming.smithy4s" % "smithy4s-sbt-codegen" % "0.17.5")
addSbtPlugin("com.disneystreaming.smithy4s" % "smithy4s-sbt-codegen" % "0.17.11")

addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.1")
Expand Down

0 comments on commit 9859d7e

Please sign in to comment.