RemoteResolver

caliban.tools.stitching.RemoteResolver$
See theRemoteResolver companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def execute: RemoteResolver[SttpClient, ExecutionError, HttpRequest, ResponseValue]
def fromEffect[A, R, E, B](effect: ZIO[R, E, B]): RemoteResolver[R, E, A, B]
def fromFunction[A, B](f: A => B): RemoteResolver[Any, Nothing, A, B]
def fromFunctionM[A, R, E, B](f: A => ZIO[R, E, B]): RemoteResolver[R, E, A, B]
def fromUrl(apiUrl: String): RemoteResolver[SttpClient, ExecutionError, Field, ResponseValue]
def request(apiUrl: String): RemoteResolver[Any, ExecutionError, GraphQLRequest, HttpRequest]

Concrete fields

val toMutation: RemoteResolver[Any, Nothing, Field, GraphQLRequest]
val toQuery: RemoteResolver[Any, Nothing, Field, GraphQLRequest]
val unwrap: RemoteResolver[Any, Nothing, ResponseValue, ResponseValue]