View Source Dagger.Mod (dagger v0.12.5)

A behaviour for implementing Dagger Module.

Function schema

  • :args (keyword/0) - Required. Arguments of the function.

    Everything declared in this keyword will pass into the second argument of the function as a map.

    • :type - Required. Type of the argument.The possible values are:
      • :boolean - A boolean type.
      • :integer - A integer type.
      • :string - A string type.
      • {:list, type} - A list of type.
      • module - An Elixir module.
  • :return - Required. Functionre bturn type.

    The possible values are:

    • :boolean - A boolean type.
    • :integer - A integer type.
    • :string - A string type.
    • {:list, type} - A list of type.
    • module - An Elixir module.

Summary

Functions

Link to this function

decode(value, type, dag)

View Source
Link to this function

decode_args(dag, input_args, args_def)

View Source

Invoke a function.

Link to this function

invoke(dag, parent, parent_name, fn_name, input_args)

View Source