schema_declaration.ex (917B)
1 defmodule Absinthe.Blueprint.Schema.SchemaDeclaration do 2 @moduledoc false 3 4 alias Absinthe.Blueprint 5 6 defstruct description: nil, 7 module: nil, 8 field_definitions: [], 9 directives: [], 10 source_location: nil, 11 # Added by phases 12 flags: %{}, 13 errors: [], 14 __reference__: nil, 15 __private__: [] 16 17 @type t :: %__MODULE__{ 18 description: nil | String.t(), 19 module: nil | module(), 20 directives: [Blueprint.Directive.t()], 21 field_definitions: [Blueprint.Schema.FieldDefinition.t()], 22 source_location: nil | Blueprint.SourceLocation.t(), 23 # Added by phases 24 flags: Blueprint.flags_t(), 25 errors: [Absinthe.Phase.Error.t()] 26 } 27 28 defimpl Inspect do 29 defdelegate inspect(term, options), 30 to: Absinthe.Schema.Notation.SDL.Render 31 end 32 end