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,
module: nil,
type_definitions: [],
directive_definitions: [],
type_artifacts: [],
directive_artifacts: [],
type_extensions: [],
directives: [],
source_location: nil,
type_extension_imports: [],
# Added by phases
schema_declaration: nil,
flags: %{},
imports: [],
directive_imports: [],
errors: [],
__private__: [],
__reference__: nil
@type t :: %__MODULE__{
description: nil | String.t(),
# types: [Blueprint.Schema.FieldDefinition.t],
directives: [Blueprint.Directive.t()],
source_location: nil | Blueprint.SourceLocation.t(),
# Added by phases
flags: Blueprint.flags_t(),
errors: [Absinthe.Phase.Error.t()]
}
end