View Source Dagger.FieldTypeDef (dagger v0.9.11)

A definition of a field on a custom object defined in a Module.

A field on an object has a static value, as opposed to a function on an object whose value is computed by invoking code (and can accept arguments).

Link to this section Summary

Functions

A doc string for the field, if any.

A unique identifier for this FieldTypeDef.

The name of the field in lowerCamelCase format.

The type of the field.

Link to this section Types

@type t() :: %Dagger.FieldTypeDef{client: term(), selection: term()}

Link to this section Functions

Link to this function

description(field_type_def)

View Source
@spec description(t()) :: {:ok, Dagger.String.t()} | {:error, term()}

A doc string for the field, if any.

@spec id(t()) :: {:ok, Dagger.FieldTypeDefID.t()} | {:error, term()}

A unique identifier for this FieldTypeDef.

@spec name(t()) :: {:ok, Dagger.String.t()} | {:error, term()}

The name of the field in lowerCamelCase format.

Link to this function

type_def(field_type_def)

View Source
@spec type_def(t()) :: Dagger.TypeDef.t()

The type of the field.