doctrine / couchdb-odm

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

Issue 108 #109

Closed kore closed 9 years ago

kore commented 9 years ago

Fixes #108

There is one remaining issue though: The $reflFields property in the ClassMetadata class is only initialized when calling wakeupReflection().

This means, that before calling wakeupReflection() all access to (f.e.) getReflectionProperty() will fail with a warning. This also means I have to call this method to make the existing assertions in the tests work.

I introduced a failing test for this, to highlight the issue. Not sure what the correct way would be to solve this.