Current section

Files

Jump to
absinthe lib absinthe blueprint document result leaf.ex
Raw

lib/absinthe/blueprint/document/result/leaf.ex

defmodule Absinthe.Blueprint.Document.Result.Leaf do
alias Absinthe.{Blueprint, Phase}
@enforce_keys [:emitter, :value]
defstruct [
:emitter,
:value,
errors: [],
flags: %{}
]
@type t :: %__MODULE__{
emitter: Blueprint.Document.Field.t,
value: Blueprint.Document.Result.node_t,
errors: [Phase.Error.t],
flags: [Blueprint.flag_t],
}
end