Skip to content

Commit

Permalink
fix: getClientGrpc, back to originally leveraging javaSdkContext
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscolopezsancho committed Sep 11, 2024
1 parent bb5d377 commit 2e0cfbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,8 @@ private[scalasdk] final case class ScalaActionContextAdapter(javaSdkContext: jav
def getComponentGrpcClient[T](serviceClass: Class[T]): T = javaSdkContext match {
case ctx: javasdk.impl.AbstractContext => ctx.getComponentGrpcClient(serviceClass)
}
override def getGrpcClient[T](clientClass: Class[T], service: String): T = {
getComponentGrpcClient(clientClass)
}
override def getGrpcClient[T](clientClass: Class[T], service: String): T =
javaSdkContext.getGrpcClient(clientClass, service)

override def materializer(): Materializer = javaSdkContext.materializer()

Expand Down

0 comments on commit 2e0cfbc

Please sign in to comment.