dagger/dsl/scalar_type_def

Values

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

A doc string for the scalar, if any.

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

A unique identifier for this ScalarTypeDef.

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

The name of the scalar.

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

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

Search Document