contributte / doctrine-orm

:fire: Well-integrated Doctrine ORM for Nette Framework

Home Page:https://contributte.org/packages/nettrine/orm.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docs: clarify consequence of using `autoGenerateProxyClasses` with `%debugMode%`

dakur opened this issue · comments

commented

In docs, there is a statement:

image

But there is no mention about that orm:generate-proxies has to be run on production otherwise the application will fail.

Mine fail when fixtures were applying.

Hi ✋ I think we can reference original doctrine docs, what do you think?

commented

Yes, as a point of reference yes. But the problem with %debugMode% must be explained in-place. Something like:

Note that in case of autoGenerateProxyClasses is resolved to false (in production mode), proxy entities have to be generated manually with CLI command. Refer to doctrine docs for more information.