doctrine-orm icon indicating copy to clipboard operation
doctrine-orm copied to clipboard

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

Open dakur opened this issue 2 years ago • 2 comments

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.

dakur avatar May 26 '22 14:05 dakur

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

f3l1x avatar Dec 16 '22 15:12 f3l1x

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.

dakur avatar Dec 16 '22 16:12 dakur