Schema

caliban.schema.Schema
See theSchema companion object
trait Schema[-R, T]

Typeclass that defines how to map the type T to the according GraphQL concepts: how to introspect it and how to resolve it. R is the ZIO environment required by the effects in the schema (Any if nothing required).

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Auto[A]
trait SemiAuto[A]
Self type
Schema[R, T]

Members list

Value members

Abstract methods

def resolve(value: T): Step[R]
Implicitly added by chunkSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by effectSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by functionUnitSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by futureSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by infallibleEffectSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by infallibleQuerySchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by infallibleStreamSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by listSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by metadataFunctionSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by optionSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by querySchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by seqSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by setSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by streamSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]
Implicitly added by vectorSchema

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

def resolve(value: T): Step[R]

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Resolves T by turning a value of type T into an execution step that describes how to resolve the value.

Value parameters

value

a value of type T

Attributes

Concrete methods

Implicitly added by chunkSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by effectSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by functionUnitSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by futureSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by infallibleEffectSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by infallibleQuerySchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by infallibleStreamSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by listSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by metadataFunctionSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by optionSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by querySchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by seqSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by setSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by streamSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Implicitly added by vectorSchema

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

Defined the arguments of the given type. Should be empty except for Function.

Defined the arguments of the given type. Should be empty except for Function.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by chunkSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by effectSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by functionUnitSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by futureSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by infallibleEffectSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by infallibleQuerySchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by infallibleStreamSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by listSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by metadataFunctionSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by optionSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by querySchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by seqSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by setSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by streamSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]
Implicitly added by vectorSchema

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def contramap[A](f: A => T): Schema[R, A]

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Builds a new Schema of A from an existing Schema of T and a function from A to T.

Value parameters

f

a function from A to T.

Attributes

def optional: Boolean
Implicitly added by chunkSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by effectSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by functionUnitSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by futureSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by infallibleEffectSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by infallibleQuerySchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by infallibleStreamSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by listSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by metadataFunctionSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by optionSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by querySchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by seqSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by setSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by streamSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean
Implicitly added by vectorSchema

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def optional: Boolean

Defines if the type is considered optional or non-null. Should be false except for Option.

Defines if the type is considered optional or non-null. Should be false except for Option.

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by chunkSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by effectSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by functionUnitSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by futureSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by infallibleEffectSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by infallibleQuerySchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by infallibleStreamSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by listSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by metadataFunctionSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by optionSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by querySchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by seqSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by setSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by streamSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]
Implicitly added by vectorSchema

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

def rename(name: String, inputName: Option[String]): Schema[R, T]

Changes the name of the generated graphql type.

Changes the name of the generated graphql type.

Value parameters

inputName

new name for the type when it's an input type (by default "Input" is added after the name)

name

new name for the type

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by chunkSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by effectSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by functionUnitSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by futureSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by infallibleEffectSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by infallibleQuerySchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by infallibleStreamSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by listSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by metadataFunctionSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by optionSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by querySchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by seqSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by setSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by streamSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by vectorSchema

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

final def toType_(isInput: Boolean, isSubscription: Boolean): `__Type`

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Generates a GraphQL type object from T. Unlike toType, this function is optimized and will not re-generate the type at each call.

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated methods

def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by chunkSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by effectSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by functionUnitSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by futureSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by infallibleEffectSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by infallibleQuerySchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by infallibleStreamSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by listSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by metadataFunctionSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by optionSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by querySchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by seqSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by setSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by streamSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`
Implicitly added by vectorSchema

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true
def toType(isInput: Boolean, isSubscription: Boolean): `__Type`

Generates a GraphQL type object from T.

Generates a GraphQL type object from T.

Note that this method is public to allow derivation via the derives keyword in Scala 3. To avoid accidental usage (which would be bad for performance), we mark as @deprecated, which will lead to compiler warnings when used

Value parameters

isInput

indicates if the type is passed as an argument. This is needed because GraphQL differentiates InputType from ObjectType.

isSubscription

indicates if the type is used in a subscription operation. For example, ZStream gives a different GraphQL type depending whether it is used in a subscription or elsewhere.

Attributes

Deprecated
true