Kevin Bond
Kevin Bond
I would also find this useful
Cool, I'll put together a PR.
similar to #7
What about [this](https://www.php-fig.org/psr/psr-12/#3-declare-statements-namespace-and-import-statements) - specifically the part about spaces between class/function/const imports. It this possible currently?
From what I am seeing, `app.flashes` is an empty array of there is no session: https://github.com/symfony/symfony/blob/6.1/src/Symfony/Bridge/Twig/AppVariable.php#L136 Edit: think I'm wrong about this: https://github.com/symfony/symfony/blob/6.1/src/Symfony/Component/HttpFoundation/Request.php#L729. We'd need to pass `true` to `Request::hasSession()`...
Is there a way to check if a request has a "previous" session without initializing it? If not, should there be? What about a `SessionFactory::getName()` method that just returns the...
> Make things state-full by default but figure out an easy/flexible path to opt-out from I guess having the user disable the session globally is not what you mean here?
> This concern happens on a page by page basis, so we could look for a way to display/ignore flashes page by page. What about: ```twig {% block flashes %}...
> We could at least put that in a render_esi() call. It will work by default for everybody, but will stay HTTP cache-friendly (you'll just have no cache on this...
> Just another template. Oh right, that would work. > Should those be http-cached? They wouldn't be if using `render_esi` - they'd be rendered in a sub-request that wouldn't be...