Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise if connection_handlers is called in legacy_connection_handling
While we didn't need to deprecate any behavior when implementing granular connection swapping it's not 100% clear to the person upgrading that this needs to change when you switch off `legacy_connection_handling`. The new version doesn't support multiple handlers but before it wasn't raising an exception so it was possible applications were still using it and hitting confusing errors. This change ensures that if an application is using the new handling that `connection_handlers` and `connection_handlers=` an exception will be raised.
- Loading branch information
1 parent
86a9c89
commit 777e6d9
Showing
4 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters