graphql_root_value

Return the filtered root value

apply_filters( 'graphql_root_value', mixed $root_value, Request $request );

Params

  • $root_value (mixed): The root value the Schema should use to resolve with. Default null.
  • $request (Request): The Request instance