lib/graphql/analysis/query_complexity.rb
# State for the query complexity calcuation:
# - `target` is passed to handler
# - `complexities_on_type` holds complexity scores for each type in an IRep node
State for the query complexity calcuation:
`target` is passed to handler
`complexities_on_type` holds complexity scores for each type in an IRep node
State for the query complexity calcuation : ` target ` is passed to handler ` complexities_on_type ` holds complexity scores for each type in an IRep node
def initial_value(target)
        {
          target: target,
          complexities_on_type: [TypeComplexity.new],
        }
      end
def initial_value ( target ) { target : target , complexities_on_type : [ TypeComplexity . new ] , } end
State for the query complexity calcuation:
 `target` is passed to handler
 `complexities_on_type` holds complexity scores for each type in an IRep node
State for the query complexity calcuation : ` target ` is passed to handler ` complexities_on_type ` holds complexity scores for each type in an IRep node
target