Schema

@implicitNotFound("Cannot find a Schema for type ${T}.\n\nCaliban derives a Schema automatically for basic Scala types, case classes and sealed traits, but\nyou need to manually provide an implicit Schema for other types that could be nested in ${T}.\nIf you use a custom type as an argument, you also need to provide an implicit ArgBuilder for that type.\nSee https://ghostdogpr.github.io/caliban/docs/schema.html for more information.\n") 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).

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).

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

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 Params
value

a value of type T

Concrete methods

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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 Params
f

a function from A to T.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.

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 Params
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.