You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @Korbeil I had to add add and remove methods, but now it works in this scenario where name of dto and entity property is exact:
` /**
* @var NotificationGroupApi[] $notificationGroups
*/
I think I found the problem:
app/vendor/symfony/property-info/Extractor/ReflectionExtractor.php:409 $singulars = $this->inflector->singularize($camelized);
It singularizes plural of property name and "Media" plural was singularized as "Medium" .... That's why my adders and removers were not recognized "addMedia" "removeMedia"...
Is there any way I can map Collection of entity objects to array of dto objects?
The text was updated successfully, but these errors were encountered: