Hush.Transformer behaviour (hush v0.5.0) View Source

Hush relies on transformers to post process values after resolving them.

You can read here on how to write your own transformer.

Link to this section Summary

Link to this section Functions

Link to this section Callbacks


key() :: atom()
Link to this callback

transform(config, value)

View Source


transform(config :: any(), value :: any()) ::
  {:ok, any()} | {:error, atom() | String.t()}