absinthe v1.4.7 Absinthe.Complexity 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

Link to this type t() View Source
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.