blueprint.ex (320B)
1 defmodule Absinthe.Phase.Blueprint do 2 use Absinthe.Phase 3 4 @moduledoc false 5 6 alias Absinthe.Blueprint 7 8 @spec run(any, Keyword.t()) :: {:ok, Blueprint.t()} 9 def run(blueprint, _options \\ []) do 10 input = blueprint.input 11 blueprint = Blueprint.Draft.convert(input, blueprint) 12 13 {:ok, blueprint} 14 end 15 end