View Source Dagger.TypeDefKind (dagger v0.10.0)

Distinguishes the different kinds of TypeDefs.

Link to this section Summary

Functions

A boolean value.

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 string value.

A special kind used to signify that no value is returned.

Link to this section Types

@type t() ::
  :BOOLEAN_KIND
  | :INPUT_KIND
  | :INTEGER_KIND
  | :INTERFACE_KIND
  | :LIST_KIND
  | :OBJECT_KIND
  | :STRING_KIND
  | :VOID_KIND

Link to this section Functions

@spec boolean_kind() :: :BOOLEAN_KIND

A boolean value.

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