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