doctrine / couchdb-odm

A Document Mapper based on CouchDB
http://www.doctrine-project.org
MIT License
150 stars 53 forks source link

serialize embedded document with references associations #137

Closed ghost closed 7 years ago

ghost commented 7 years ago

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 from UnitOfWork::flush() and DoctrineResolver::storeAssociationField(), so if someone could refactor this, it will be pretty cool. ;)

Thanks.

ghost commented 7 years ago

Closed in favor of #138