Riptide.merge

You're seeing just the function merge, go back to Riptide module for more information.
Link to this function

merge(path, value, state \\ %{internal: true})

View Source

Convience method to apply a mutation that merges a single value

Examples

iex> Riptide.merge(["foo", "bar"], "hello")
{:ok, %{
  merge: %{
    "foo" => %{
      "bar" => "hello
    }
  },
  delete: %{}
}}