Current section

Files

Jump to
absinthe lib absinthe blueprint schema schema_definition.ex
Raw

lib/absinthe/blueprint/schema/schema_definition.ex

defmodule Absinthe.Blueprint.Schema.SchemaDefinition do
@moduledoc false
alias Absinthe.Blueprint
defstruct [
description: nil,
fields: [],
directives: [],
# Added by phases
flags: %{},
errors: [],
]
@type t :: %__MODULE__{
description: nil | String.t,
fields: [Blueprint.Schema.FieldDefinition.t],
directives: [Blueprint.Directive.t],
# Added by phases
flags: Blueprint.flags_t,
errors: [Absinthe.Phase.Error.t],
}
end