View Source Dagger.FieldTypeDef (dagger v0.13.6)

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

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.

Types

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

Functions

Link to this function

description(field_type_def)

View Source
@spec description(t()) :: {:ok, 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, 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.