doctrine / couchdb-odm

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

How to use CouchDB ODM with Silex? #120

Closed casoetan closed 8 years ago

casoetan commented 8 years ago

Compliments of the season.

I'm trying to configure this with silex but just can't crack it right now. Any guide,p or tuts would be great.

Thanks.

Ocramius commented 8 years ago

Not an issue. Please refer to Stackoverflow or the mailing list for non-internal-development questions.

casoetan commented 8 years ago

Hello @Ocramius I've searched the web for days and after your response, I did more digging, but nothing. Maybe I need to be specific, the error I keep getting is

Class Package\documents\user is not a valid document or mapped super class.

On debugging, I noticed this call in AnnotationDriver.php line 55

$classAnnotations = $this->reader->getClassAnnotations($reflClass);

Returns an empty array. I guess there maybe something wrong with my configuration, but can't seem to point it out.

Any help will be appreciated. Thanks.