View Source Dagger.TypeDefKind (dagger v0.13.6)
Distinguishes the different kinds of TypeDefs.
Summary
Functions
A boolean value.
A GraphQL enum type and its values
A graphql input type, used only when representing the core API via TypeDefs.
An integer value.
A named type of functions that can be matched+implemented by other objects+interfaces.
A list of values all having the same type.
A named type defined in the GraphQL schema, with fields and functions.
A scalar value of any basic kind.
A string value.
A special kind used to signify that no value is returned.
Types
@type t() ::
:STRING_KIND
| :INTEGER_KIND
| :BOOLEAN_KIND
| :SCALAR_KIND
| :LIST_KIND
| :OBJECT_KIND
| :INTERFACE_KIND
| :INPUT_KIND
| :VOID_KIND
| :ENUM_KIND
Functions
@spec boolean_kind() :: :BOOLEAN_KIND
A boolean value.
@spec enum_kind() :: :ENUM_KIND
A GraphQL enum type and its values
Always paired with an EnumTypeDef.
@spec input_kind() :: :INPUT_KIND
A graphql input type, used only when representing the core API via TypeDefs.
@spec integer_kind() :: :INTEGER_KIND
An integer value.
@spec interface_kind() :: :INTERFACE_KIND
A named type of functions that can be matched+implemented by other objects+interfaces.
Always paired with an InterfaceTypeDef.
@spec list_kind() :: :LIST_KIND
A list of values all having the same type.
Always paired with a ListTypeDef.
@spec object_kind() :: :OBJECT_KIND
A named type defined in the GraphQL schema, with fields and functions.
Always paired with an ObjectTypeDef.
@spec scalar_kind() :: :SCALAR_KIND
A scalar value of any basic kind.
@spec string_kind() :: :STRING_KIND
A string value.
@spec void_kind() :: :VOID_KIND
A special kind used to signify that no value is returned.
This is used for functions that have no return value. The outer TypeDef specifying this Kind is always Optional, as the Void is never actually represented.