symfony/symfony — Issue #3030: [FrameworkBundle][HttpKernel] Allow objects as parameters in render()
Author: solzenic
Created: 2012-01-04 17:29:11+00:00
State: open

Could you please reconsider the change you made after [this](https://github.com/symfony/symfony/issues/2941) issue which allows only scalar values to be passed as parameters in render tag? I understand that ESI issue with objects, but its ESI issue and should be checked only if ESI is used. There are places where passing objects make much more sense. Did you consider that since this change, you must call Doctrine (or...) and retrieve your object in every action, although you already have in other action. I use ESI too, but there are cases when classic render is better choice, and by this change it has became a bit useless. Thanks. SFME