View Source Absinthe.Complexity (absinthe v1.7.6)

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

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.

Types

@type 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.