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
Value members
Abstract methods
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
toT
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.
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
fromObjectType
.- 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.