doctrine / DoctrineMongoDBBundle

Integrates Doctrine MongoDB ODM with Symfony
http://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html
MIT License
379 stars 230 forks source link

Expose transaction setting #814

Closed alcaeus closed 8 months ago

alcaeus commented 9 months ago

This complements https://github.com/doctrine/mongodb-odm/pull/2586 by exposing the use_transactional_flush setting to the bundle configuration.

alcaeus commented 9 months ago

Updated to target 5.0.x, which we may bump to 5.1.x. I've also added logic to support older ODM versions that don't support transactional flushes. We can decide whether to bump the ODM requirement at a later date.

alcaeus commented 8 months ago

Please do, it's new config switch after all.

Will do once we have a 5.1.x branch - release automation doesn't handle pre-releases very gracefully, so once 5.0.0 is tagged everything should be in order.

malarzm commented 8 months ago

Ah 5.0.0 is still in RC phase 🙈