doctrine/mongodb-odm — pull request #184 by dunglas (2011-11-02 09:50:41+00:00)
Title: Fix DocumentPersister's loadReferenceManyCollectionInverseSide function and a ClassMetadata prototype bug

The `@MongoDB\ReferenceMany(targetDocument="Document", mappedBy="field")` annotation was not working because the query generated by `DocumentPersister` does not prefix the `id` reference by `$` and it's needed by MongoDB.

This PR also fix a ClassMetadata prototype change.