I had to load my fixtures with some EmbeddedDocument with Associations but I could not.
So, I edited EmbeddedDocumentSerializer to fix that problem. But, I duplicated some code from UnitOfWork::flush() and DoctrineResolver::storeAssociationField(), so if someone could refactor this, it will be pretty cool. ;)
Hello,
I had to load my fixtures with some EmbeddedDocument with Associations but I could not. So, I edited
EmbeddedDocumentSerializer
to fix that problem. But, I duplicated some code fromUnitOfWork::flush()
andDoctrineResolver::storeAssociationField()
, so if someone could refactor this, it will be pretty cool. ;)Thanks.