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

Simplify code with better base classes #46

Merged
merged 42 commits into from
Mar 29, 2021

Conversation

SmileyChris
Copy link
Contributor

@SmileyChris SmileyChris commented May 27, 2020

Deduplicate code, providing separate sync and async base classes with the common code that was duplicated across backends hoisted back to these bases.

In abstracting this code, it allowed for fixing changes that had been only applied against one application server across the board. Some more fixes were introduced to.

This should fix #24, #22, #19, #10, #48, #16, #12, #8, #7

@SmileyChris SmileyChris mentioned this pull request May 27, 2020
@SmileyChris SmileyChris marked this pull request as ready for review July 1, 2020 04:42
@SmileyChris SmileyChris requested a review from Cito July 1, 2020 04:43
@SmileyChris
Copy link
Contributor Author

This is a mega-fix, worthy of a new major release number - both for the fact that it's a large rewrite, and because of the size it may have unknowingly introduced some backwards incompatibilities.

I really can't see a good way to refactor this into a smaller set of patches, and I know that it will be a mare to review... I'm using it as the new basis of the channels2 code, being used in a preproduction environment, so the django 2 code works at least :P

My hope is that since the project has stagnated so long, we can just push this sooner rather than delay it forever and actually get some more eyes looking at it.

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

Successfully merging this pull request may close these issues.

1 participant