Hi !
When we use Doctrine wich returns proxies, the mapper could not map : it maps property to null.
Is there a solution ?
example dump doctrine result :
App\Entity\Company {#584
-id: 81
-secteur: Proxies\__CG__\App\Entity\Secteur {
-id: 1
-name: null
}
dump($company->getSecteur->getName()) : returns a string
but the mapper found "null"
Hi !
When we use Doctrine wich returns proxies, the mapper could not map : it maps property to null.
Is there a solution ?
example dump doctrine result :
dump($company->getSecteur->getName()): returns a stringbut the mapper found "null"