GraphQL

caliban.GraphQL$
See theGraphQL companion trait
object GraphQL

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
GraphQL.type

Members list

Concise view

Value members

Concrete methods

def graphQL[R, Q, M, S : SubscriptionSchema](resolver: RootResolver[Q, M, S], directives: List[`__Directive`], schemaDirectives: List[Directive])(implicit evidence$1: SubscriptionSchema[S], querySchema: Schema[R, Q], mutationSchema: Schema[R, M], subscriptionSchema: Schema[R, S]): GraphQL[R]

Builds a GraphQL API for the given resolver.

Builds a GraphQL API for the given resolver.

It requires an instance of caliban.schema.Schema for each operation type. This schema will be derived by Magnolia automatically.

Attributes