caliban
Type members
Classlikes
A GraphQL[-R]
represents a GraphQL API whose execution requires a ZIO environment of type R
.
A GraphQL[-R]
represents a GraphQL API whose execution requires a ZIO environment of type R
.
It is intended to be created only once, typically when you start your server. The introspection schema will be generated when this class is instantiated.
- Companion:
- object
A GraphQLAspect
is wrapping type similar to a polymorphic function, which is capable
of transforming a GraphQL into another while possibly enlarging the required environment type.
It allows a flexible way to augment an existing GraphQL with new capabilities or features.
A GraphQLAspect
is wrapping type similar to a polymorphic function, which is capable
of transforming a GraphQL into another while possibly enlarging the required environment type.
It allows a flexible way to augment an existing GraphQL with new capabilities or features.
A GraphQLInterpreter[-R, +E]
represents a GraphQL interpreter whose execution requires
a ZIO environment of type R
and can fail with an E
.
A GraphQLInterpreter[-R, +E]
represents a GraphQL interpreter whose execution requires
a ZIO environment of type R
and can fail with an E
.
It is a wrapper around a GraphQL
API definition that allows adding some middleware around
query execution, and possibly transform the environment or the error type.
- Companion:
- object
Represents a GraphQL request, containing a query, an operation name and a map of variables.
Represents a GraphQL request, containing a query, an operation name and a map of variables.
- Companion:
- object
Represents the result of a GraphQL query, containing a data object and a list of errors.
Represents the result of a GraphQL query, containing a data object and a list of errors.
- Companion:
- object
A root resolver
contains resolvers for the 3 types of operations allowed in GraphQL: queries, mutations and subscriptions.
A root resolver
contains resolvers for the 3 types of operations allowed in GraphQL: queries, mutations and subscriptions.
A resolver
is a simple value of the case class describing the API.
- Companion:
- object