/// Executes a selection set, requiring the result to be of the given object type.
///
/// Allows passing in a parent value during recursive processing of objects and their fields.
Executes a selection set, requiring the result to be of the given object type.
Allows passing in a parent value during recursive processing of objects and their fields.
Executes a selection set requiring the result to be of the given object type . Allows passing in a parent value during recursive processing of objects and their fields .
pub fn execute_selection_set<'a, R>(
    ctx: &ExecutionContext<'a, R>,
    selection_set: &'a q::SelectionSet,
    object_type: &s::ObjectType,
    object_value: &Option<q::Value>,
) -> Result<q::Value, Vec<QueryExecutionError>>
where
    R: Resolver,
{
    Ok(q::Value::Object(execute_selection_set_to_map(
        ctx,
        selection_set,
        object_type,
        object_value,
    )?))
}
pub fn execute_selection_set < ' a , R > ( ctx : & ExecutionContext < ' a , R > , selection_set : & ' a q :: SelectionSet , object_type : & s :: ObjectType , object_value : & Option < q :: Value > , ) -> Result < q :: Value , Vec < QueryExecutionError > > where R : Resolver , { Ok ( q :: Value :: Object ( execute_selection_set_to_map ( ctx , selection_set , object_type , object_value , ) ? ) ) }
Executes a selection set, requiring the result to be of the given object type.
Executes a selection set requiring the result to be of the given object type .
ctx
&ExecutionContext<'a, R>
selection_set
&'a q::SelectionSet
object_type
&s::ObjectType
object_value
&Option<q::Value>