Riptide.Mutation.put_delete

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

Specs

put_delete([String.t()]) :: t()

Creates a new mutation and puts a path to be deleted

Specs

put_delete(t(), [String.t()]) :: t()

Adds a delete path to the input mutation

Examples

iex> Riptide.Mutation.new()
...> |> Riptide.Mutation.put_delete(["c"])
%Riptide.Mutation{delete: %{"c" => 1}, merge: %{}}