Closed EmilePerron closed 1 month ago
Thanks, I took a look into this, and have decided it makes the package overly complicated to try and find the default connection. Any solution for defining a default eventually resulted in some other configuration parameter being required. If you're not using 'default', then just define the connection name it into the configuration parameters for the package.
Hi there!
Just wanted to try out the package as the multi-connection support was interesting for the project I'm working on, and I had the following error pop up when running the package's recipe upon composer install:
As you can see, neither of our connections are named "default", which crashes the app until the connections are defined in the configuration.
I don't have time for a PR on this at this very moment, but I expect looking at the
doctrine.dbal.default_connection
configuration could fix this issue, in order to make the install process smoother.If I get some time to look into it before you do I might just make a PR for it.
Cheers! :)