View Source Dagger.TypeDefKind (dagger v0.9.0)

Distinguishes the different kinds of TypeDefs.

Link to this section Summary

Functions

A boolean value

An integer value

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() ::
  :BooleanKind
  | :IntegerKind
  | :ListKind
  | :ObjectKind
  | :StringKind
  | :VoidKind

Link to this section Functions

@spec boolean_kind() :: :BooleanKind

A boolean value

@spec integer_kind() :: :IntegerKind

An integer value

@spec list_kind() :: :ListKind

A list of values all having the same type.

Always paired with a ListTypeDef.

@spec object_kind() :: :ObjectKind

A named type defined in the GraphQL schema, with fields and functions.

Always paired with an ObjectTypeDef.

@spec string_kind() :: :StringKind

A string value

@spec void_kind() :: :VoidKind

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.