ecotoneframework / ecotone-dev

Ecotone Framework Development - This is Monorepo which contains all official public modules
https://docs.ecotone.tech
Other
37 stars 16 forks source link

Upgrade ecotone/dbal to use latest doctrine/persistence #111

Closed xNarkon closed 1 year ago

xNarkon commented 1 year ago

Description
Currently on Symfony 6.2 there is an issue related to the doctrine/persistence. Symfony recommends to use the doctrine/persistence in the latest version 3+ to use of lazy ghost objects. Of course we can disable this feature for now to avoid the problems using a switch: enable_lazy_ghost_objects but it would be really nice to just upgrade dependencies in ecotone/dbal.

dgafka commented 1 year ago

Hello @xNarkon

It's related to enqueue/dbal, it was not updated to persistence version >= 3.0. Are you willing to help with this and provide PR in their dev-repo that will bump the version?

xNarkon commented 1 year ago

@dgafka well, it's already in progress https://github.com/php-enqueue/enqueue-dev/pull/1290. I decided to add my own PR to allow 3.1.

https://github.com/php-enqueue/enqueue-dev/pull/1300 could you push it a bit, as I can see you was a contributor?

Thanks in advance!

dgafka commented 1 year ago

Thanks @jlabedo for updating that :)

xNarkon commented 1 year ago

@dgafka php-enqueue has already my changes merge

dgafka commented 1 year ago

cool @xNarkon, I think we don't need to update any package constraint on Ecotone side, right?

dgafka commented 1 year ago

Closing as library was upgraded :)