symfony-vuejs icon indicating copy to clipboard operation
symfony-vuejs copied to clipboard

Use of wrapped PDO connection

Open tomsykes opened this issue 3 years ago • 0 comments

This isn't so much as bug/issue as it is a discussion...

I'm trying to figure out why this project is using a wrapped Doctrine connection https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/config/services.yaml#L40

instead of allowing the PdoSessionHandler to create its own connection as suggested by the symfony docs https://symfony.com/doc/4.4/session/database.html#store-sessions-in-a-relational-database-mariadb-mysql-postgresql

Can anyone shed light on this?

tomsykes avatar May 05 '21 12:05 tomsykes