Current section

Files

Jump to
absinthe lib absinthe blueprint schema enum_value_definition.ex
Raw

lib/absinthe/blueprint/schema/enum_value_definition.ex

defmodule Absinthe.Blueprint.Schema.EnumValueDefinition do
alias Absinthe.Blueprint
@enforce_keys [:value]
defstruct [
:value,
deprecation: nil,
directives: [],
source_location: nil,
# Added by phases
flags: %{},
errors: [],
]
@type t :: %__MODULE__{
value: String.t,
deprecation: nil | Blueprint.Schema.Deprecation.t,
directives: [Blueprint.Directive.t],
source_location: nil | Blueprint.Document.SourceLocation.t,
# Added by phases
flags: Blueprint.flags_t,
errors: [Absinthe.Phase.Error.t],
}
end