doctrine/mongodb-odm — pull request #199 by AD7six (2011-11-24 18:46:52+00:00)
Title: getClassNameFromDiscriminatorValue assumes an array

This is the first error I encountered playing around with the flat-references branch.

Fixing it did not result in usable code, it then lead to this error:

https://gist.github.com/f8cf67346abd57c8dec1

The relevant snippet from the twig template triggering that error was simply `{{ data.board.name }}` where data is a post, board is a ReferenceOne (simple=true) definition, and it worked before changing to simple=true.

Haven't tried to address that yet (perhaps it's simple, end of the day here).