absinthe v1.2.0-beta.0 Absinthe.Resolution

The primary piece of metadata passed to aid resolution functions, describing the current field’s execution environment.

Summary

Types

t()

Information about the current resolution

Types

t()
t :: %Absinthe.Resolution{adapter: Absinthe.Adapter.t, context: map, definition: Blueprint.node_t, parent_type: Absinthe.Type.t, root_value: any, schema: Absinthe.Schema.t, source: any}

Information about the current resolution.

Options

  • :adapter - The adapter used for any name conversions.
  • :definition - The Blueprint definition for this field. To access the

              schema type for this field, see the `definition.schema_node`.
  • :context - The context passed to Absinthe.run.
  • :root_value - The root value passed to Absinthe.run, if any.
  • :parent_type - The parent type for the field.
  • :schema - The current schema.
  • :source - The resolved parent object; source of this field.