enum_value_definition.ex (771B)
1 defmodule Absinthe.Blueprint.Schema.EnumValueDefinition do 2 @moduledoc false 3 4 alias Absinthe.Blueprint 5 6 @enforce_keys [:value] 7 defstruct [ 8 :value, 9 :name, 10 :identifier, 11 deprecation: nil, 12 directives: [], 13 source_location: nil, 14 description: nil, 15 # Added by phases 16 flags: %{}, 17 module: nil, 18 errors: [], 19 __reference__: nil 20 ] 21 22 @type t :: %__MODULE__{ 23 value: String.t(), 24 description: nil | String.t(), 25 deprecation: nil | Blueprint.Schema.Deprecation.t(), 26 directives: [Blueprint.Directive.t()], 27 source_location: nil | Blueprint.SourceLocation.t(), 28 # Added by phases 29 flags: Blueprint.flags_t(), 30 errors: [Absinthe.Phase.Error.t()] 31 } 32 end