Riptide.Mutation.apply

You're seeing just the function apply, go back to Riptide.Mutation module for more information.

Specs

apply(map(), t()) :: map()

Applies the entire mutation to the input map.

Example

iex> Riptide.Mutation.apply(
...>  %{"b" => false},
...>  %{delete: %{}, merge: %{"a" => true}}
...> )
%{"a" => true, "b" => false}