Schemer.Resolver.ListGet (schemer v0.1.0)

Get the value from a list of map.

bykey

ByKey

The value is that for which value of the key equals to the node_key.

Link to this section Summary

Link to this section Functions

Link to this function

build_by_key(key)

@spec build_by_key(String.t() | atom()) :: {module(), atom(), [{atom(), String.t()}]}
Link to this function

resolve(node_key, execution, res, arg)

@spec resolve(
  String.t(),
  Schemer.Execution.t(),
  Schemer.Resolution.t(),
  {atom(), String.t()}
) ::
  {:ok, term()} | :ignore