View Source Dagger.ScalarTypeDef (dagger v0.15.1)

A definition of a custom scalar defined in a Module.

Summary

Functions

A doc string for the scalar, if any.

A unique identifier for this ScalarTypeDef.

The name of the scalar.

If this ScalarTypeDef is associated with a Module, the name of the module. Unset otherwise.

Types

t()

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

Functions

description(scalar_type_def)

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

A doc string for the scalar, if any.

id(scalar_type_def)

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

A unique identifier for this ScalarTypeDef.

name(scalar_type_def)

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

The name of the scalar.

source_module_name(scalar_type_def)

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

If this ScalarTypeDef is associated with a Module, the name of the module. Unset otherwise.