public function getModels($queryBuilder, Context $context, $resourceDefinition = null, $records = null)
    {
        $resourceDefinition = $resourceDefinition ?? $this->resourceDefinition;
        $records = $records ?? $this->getRecordLimit();

        return $this->filterAndGet($queryBuilder, $resourceDefinition, $context, $records);
    }