$this->queryHelper->
resolveField($field,
$definition,
$root,
$query,
$context);
$alias =
$root . '.' .
$field->
getPropertyName();
$joinCriteria = null;
if ($criteria &&
$criteria->
hasAssociation($field->
getPropertyName())) { $joinCriteria =
$criteria->
getAssociation($field->
getPropertyName());
$basics =
$this->
addAssociationFieldsToCriteria($joinCriteria,
$reference,
$basics);
} $this->
joinBasic($reference,
$context,
$alias,
$query,
$basics,
$joinCriteria,
$partial[$field->
getPropertyName()] ??
[]);
continue;
} // add sub select for many to many field
if ($field instanceof ManyToManyAssociationField
) { if ($this->
isAssociationRestricted($criteria,
$field->
getPropertyName())) { continue;
} // requested a paginated, filtered or sorted list