Skip to content
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

Remove dependency with doctrine/dbal #2193

Conversation

jordisala1991
Copy link
Member

@jordisala1991 jordisala1991 commented Oct 31, 2021

Subject

The dependency is not really required, and that method should/will be deprecated on next major of doctrine extensions (because it is coupled with the orm, I couldn't find the getConnection on the document manager)

To me it is pedantic, because this only affects on the conflict section (for our users), for us it means not having to deal with one package here which is nice.

@jordisala1991 jordisala1991 requested a review from a team October 31, 2021 16:46
@phansys
Copy link
Member

phansys commented Oct 31, 2021

I couldn't find the getConnection on the document manager

Indeed, the method was removed in version 2.x.

@jordisala1991 jordisala1991 requested review from phansys and a team October 31, 2021 18:01
@phansys phansys requested a review from a team October 31, 2021 18:40
Copy link
Member

@VincentLanglet VincentLanglet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about adding the deprecation to the doctrine extension repository ?

@jordisala1991
Copy link
Member Author

What about adding the deprecation to the doctrine extension repository ?

Yep, That has to be done indeed.

@jordisala1991 jordisala1991 merged commit 922176d into sonata-project:4.x Nov 1, 2021
@jordisala1991 jordisala1991 deleted the improvement/not-use-doctrine-dbal branch November 1, 2021 11:54
@VincentLanglet
Copy link
Member

What about adding the deprecation to the doctrine extension repository ?

Yep, That has to be done indeed.

Just discovered I've already deprecated it in sonata-project/sonata-doctrine-extensions#365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants