zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

override_root.ex (215B)


      1 defmodule Absinthe.Phase.Document.OverrideRoot do
      2   @moduledoc false
      3 
      4   @behaviour Absinthe.Phase
      5 
      6   def run(blueprint, root_value: new_root) do
      7     {:ok, put_in(blueprint.execution.root_value, new_root)}
      8   end
      9 end