View Source Absinthe.Complexity (absinthe v1.7.0)

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.