doctrine/mongodb-odm — Issue #255: Problem with Proxy
Author: youbs
Created: 2012-02-17 11:02:01+00:00
State: open

Hi,
I'm using FOSRestBundle (and so JMSDebuggingBundle) and i have this error when calling a controller :
[{"message":"[Semantical Error] The annotation \"@proxy\" in method Doctrine\\MongoDB\\Connection::close() was never imported. Did you maybe forget to add a \"use\" statement for this annotation?",[...]

When browsing JMSDebuggingBundle's issues on github, I found this one who seems correponding to my problem : https://github.com/schmittjoh/JMSSerializerBundle/issues/51

So I understand it has to deal with Doctrine Common and Doctrine ODM not in sync (doctrine odm not implementing some proxies features)

I'm willing to do it but there seeems to be no documentation about proxies, and i'm not quite familiar with those concepts, perhaps would you point me in the right directions ?

Thanks a lot