Skip to content

Commit

Permalink
TASK: Remove obsolete reference handing logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Feb 15, 2024
1 parent 341bb85 commit ab3f9fa
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Classes/Domain/Service/NodePropertyConverterService.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,7 @@ protected function createConfiguration($dataType)
$propertyMappingConfiguration = new PropertyMappingConfiguration();
$propertyMappingConfiguration->allowAllProperties();

$parsedType = [
'elementType' => null,
'type' => $dataType
];
// Special handling for "reference(s)", should be deprecated and normlized to array<Node>
if ($dataType !== 'references' && $dataType !== 'reference') {
$parsedType = TypeHandling::parseType($dataType);
}
$parsedType = TypeHandling::parseType($dataType);

if ($this->setTypeConverterForType($propertyMappingConfiguration, $dataType) === false) {
$this->setTypeConverterForType($propertyMappingConfiguration, $parsedType['type']);
Expand Down

0 comments on commit ab3f9fa

Please sign in to comment.