src/GraphQL.php
public function executeRequest(GraphQLRequest $request): array
    {
        $result = $this->executeQuery(
            $request->query(),
            $this->createsContext->generate(
                app('request')
            ),
            $request->variables(),
            null,
            $request->operationName()
        );

        return $this->applyDebugSettings($result);
    }
public function executeRequest(GraphQLRequest $request): array
    {
        $result = $this->executeQuery(
            $request->query(),
            $this->createsContext->generate(
                app('request')
            ),
            $request->variables(),
            null,
            $request->operationName()
        );

        return $this->applyDebugSettings($result);
    }
public function executeRequest ( GraphQLRequest $ request ) : array { $ result = $ this -> executeQuery ( $ request -> query ( ) , $ this -> createsContext -> generate ( app ( 'request' ) ) , $ request -> variables ( ) , null , $ request -> operationName ( ) ) ; return $ this -> applyDebugSettings ( $ result ) ; }
Execute a set of batched queries on the lighthouse schema and return a
collection of ExecutionResults.

@param  \Nuwave\Lighthouse\Execution\GraphQLRequest  $request
@return mixed[]
Execute a set of batched queries on the lighthouse schema and return a collection of ExecutionResults .