field.ex (590B)
1 defmodule Absinthe.Blueprint.Input.Field do 2 @moduledoc false 3 4 alias Absinthe.{Blueprint, Type} 5 6 @enforce_keys [:name, :input_value] 7 defstruct [ 8 :name, 9 :input_value, 10 # Added by phases 11 flags: %{}, 12 source_location: nil, 13 schema_node: nil, 14 errors: [] 15 ] 16 17 @type t :: %__MODULE__{ 18 name: String.t(), 19 input_value: Blueprint.Input.Value.t(), 20 flags: Blueprint.flags_t(), 21 schema_node: nil | Type.Field.t(), 22 source_location: Blueprint.SourceLocation.t(), 23 errors: [Absinthe.Phase.Error.t()] 24 } 25 end