-
-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split bundle into dbal-bundle and orm-bundle #973
Comments
I dont know if this is the right place for this, but i would love to know how this is going. I dont see any reference to this issue, will this feature be implemented in the future or is it still and ongoing discussion? |
We haven't put this on the roadmap (yet). For now I want to finish up work for Symfony 5 and then start thinking about future work. |
This is great, as going forwards, it would allow people to use things like onPropertyChanged listeners, that are in the dbal, without having to use the meaty ORM dependency. |
I closed doctrine/dbal-bundle#1 as its quite outdated and I stopped working on it a while ago. Do you still think we should split the bundles? |
Well, it would greatly improve the DX for project wanting to use DBAL without the ORM (as the recipe currently assumes the ORM is wanted). |
I think it's fine thing to do, but also I don't think it's realistic at the moment because it has low enough of importance that nobody will want to pick this up. |
Hey @alcaeus, I just run into this issue. Any news? :) |
@ilukac no progress is being done on this right now. the 2 comments before yours still apply. |
Okey, could you just confirm on temporary fixes:
|
If you don't want to use the ORM, you can indeed remove the ORM-related config added by the recipe. |
I don't see this getting traction, let's close |
Currently, this bundle is used to configure both
doctrine/dbal
anddoctrine/orm
. This can cause issues for people only wanting to use DBAL without ORM (for example symfony/recipes#428). This could be solved by splitting this bundle into two:doctrine/dbal-bundle
which is used to configure the entire DBAL stack and can be used standalonedoctrine/orm-bundle
which is used to configure the ORM and has a hard dependency on the DBAL bundle.I've previously discussed this with @stof during the EUFOSSA Hackathon and this could very well be done while preserving BC:
doctrine/dbal-bundle
anddoctrine/orm-bundle
are necessarydoctrine/doctrine-bundle
butdoctrine/orm-bundle
.@stof @kimhemsoe @doctrine/team-symfony-integration: can you think of anything I forgot?
The text was updated successfully, but these errors were encountered: