-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hi, I'd like to know why this overwriten function:
protected function setDestinationValue(
$destination,
string $propertyName,
$value
): void {
$this->propertyWriter->setProperty(
$destination,
$propertyName,
$value
);
}
In MapFrom.php
doesn't have this check from his parent:
if ($value === null && $this->options->shouldIgnoreNullProperties()) {
return;
}
In this case, when I use mapToObject, it won't skip null fields even I configured it in options by:
->getOptions()
->ignoreNullProperties();
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels