e-butik/EbutikMongoSessionBundle — pull request #8 by magnusnordlander (2012-01-20 10:03:58+00:00)
Title: Fixed issues with updating embedded objects.

An example fixed use case would be if a session-embeddable document Foo embeds many of another document Bar. Previously, this would result in multiple Bars being inserted into the Bar-collection of Foo.

I'm not very satisfied with the implementation of the SessionEmbeddableDocumentsComparison class. It just feels like it could be implemented more neatly. However, the interface is clean, and the class has functional tests, which pass, so I'm sending this PR anyway.