doctrine/mongodb-odm — comment on commit dd10565b70e2a82a302264603a6b909eebc49b29
File:  line 0
By jmikola:

Since `SchemaManager::doGetDocumentIndexes()` doesn't differentiate between embedOne and embedMany, that looks like it would work; however, it's not possible if the index should also include a field from another document (embedded or otherwise). I'm working on a fix for this in #225.