doctrine-orm
doctrine-orm copied to clipboard
Docs: clarify consequence of using `autoGenerateProxyClasses` with `%debugMode%`
In docs, there is a statement:
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?
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 tofalse
(in production mode), proxy entities have to be generated manually with CLI command. Refer to doctrine docs for more information.