do Map.put(acc, :first_fn_passed, true) end end defmodule Plugin2 do use Plugin.Builder plugin :second_fn def second_fn(acc, _) do Map.put(acc, :second_fn_passed, true) end end defmodule Plugin3 do use Plugin.Builder plugin Plugin1 plugin Plugin2 end acc = Plugin.call(Plugin3, %{}) true = Map.get(acc, :first_fn_passed) true = Map.get(acc, :second_fn_passed)