Commit c75886b4 authored by Mat's avatar Mat

cascade persist sur une one2one (non testé)

peut-être faudra-t-il défaire !
parent 2ce6a7a1
......@@ -34,7 +34,7 @@ class Groupe
* @var
* @ORM\OneToOne(targetEntity="PotageBundle\Entity\Depot", mappedBy="groupe")
* @ORM\OneToOne(targetEntity="PotageBundle\Entity\Depot", mappedBy="groupe", cascade={"persist"})
* @Serializer\Groups({"readGroupes"})
private $depot;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment