dagger/dsl/field_type_def

Values

pub fn deprecated(
  parent: types.FieldTypeDef,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

The reason this enum member is deprecated, if any.

pub fn description(
  parent: types.FieldTypeDef,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

A doc string for the field, if any.

pub fn id(parent: types.FieldTypeDef) -> types.FieldTypeDef

A unique identifier for this FieldTypeDef.

pub fn name(
  parent: types.FieldTypeDef,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

The name of the field in lowerCamelCase format.

pub fn source_map(parent: types.FieldTypeDef) -> types.SourceMap

The location of this field declaration.

pub fn type_def(parent: types.FieldTypeDef) -> types.TypeDef

The type of the field.

Search Document