protected function applyFilter(QueryBuilder $queryBuilder, $alias, FilterNode $filter)
    {
        $queryBuilderPatcher = new QueryBuilderPatcher(new QueryExpressionBuilder());

        return $queryBuilderPatcher->patch($queryBuilder, $filter, new QueryContext($alias));
    }