Absinthe.Complexity (absinthe v1.6.4) View Source

Extra metadata passed to aid complexity analysis functions, describing the current field's environment.

Link to this section Summary

Types

t()
  • :definition - The Blueprint definition for this field.
  • :context - The context passed to Absinthe.run.
  • :root_value - The root value passed to Absinthe.run, if any.
  • :schema - The current schema.

Link to this section Types

Specs

t() :: %Absinthe.Complexity{
  context: map(),
  definition: Absinthe.Blueprint.node_t(),
  root_value: any(),
  schema: Absinthe.Schema.t()
}
  • :definition - The Blueprint definition for this field.
  • :context - The context passed to Absinthe.run.
  • :root_value - The root value passed to Absinthe.run, if any.
  • :schema - The current schema.