Skip to content

Fix hook method that allows custom connection configuration #1041

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

Merged
merged 2 commits into from
Mar 9, 2023

Conversation

aidanharan
Copy link
Contributor

@aidanharan aidanharan commented Mar 9, 2023

The method configure_connection was meant to be a hook method to allow custom connection configuration. However, the method was implemented in the adapter to perform the default connection configuration. I have extracted the default connection configuration to it's own method so that the hook method is available again for custom configuration.

This allows users to implement configure_connection without having to re-implement the default configuration or call super to call the adapter's implementation of the method.

This fixes issue #950

Note: Backported from #1039

…ation-7.0

Fix hook method that allows custom connection configuration
@aidanharan aidanharan marked this pull request as ready for review March 9, 2023 13:16
@aidanharan aidanharan merged commit 7c6d7d1 into 6-1-stable Mar 9, 2023
@aidanharan aidanharan deleted the fix-connection-configuration-6.1 branch March 9, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant