Prevent infinite loop and memory leak.

This commit is contained in:
Pol Dellaiera 2021-05-26 10:40:43 +02:00
parent 5cc5e6a1f7
commit 13d5b7078e

View File

@ -32,7 +32,7 @@ use Symfony\Component\Serializer\Annotation\DiscriminatorMap;
use Symfony\Component\Serializer\Annotation\Groups; use Symfony\Component\Serializer\Annotation\Groups;
/** /**
* @ORM\Entity(repositoryClass=ResourceRepository::class) * @ORM\Entity
* @ORM\Table(name="chill_person_accompanying_period_resource") * @ORM\Table(name="chill_person_accompanying_period_resource")
* @DiscriminatorMap(typeProperty="type", mapping={ * @DiscriminatorMap(typeProperty="type", mapping={
* "accompanying_period_resource"=Resource::class * "accompanying_period_resource"=Resource::class