View Source Absinthe.Complexity (absinthe v1.7.5)

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

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