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

Removed dependencies on ConnectionGrain in GroupGrain and UserGrain #2

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andrund
Copy link
Collaborator

@andrund andrund commented Oct 26, 2020

GroupGrain and UserGrain were both inheriting from the abstract ConnectionGrain. To make it easier to make changes without affecting other grains, the ConnectionGrain base class has been removed and the logic copied into GroupGrain and UserGrain.

This opens up additional improvements for how to handle groups and minimize number of necessary streams used by the streams

…o make it easier to make new changes. Removed ConnectionGrain because it is no longer needed
@andrund
Copy link
Collaborator Author

andrund commented Oct 26, 2020

Another reason ConnectionGrain doesn't make sense, is that ConnectionGrain indicates its purpose is to handle one connection only, not many. Perhaps ClientGrain should be called ConnectionGrain?

@zeus82
Copy link
Owner

zeus82 commented Oct 26, 2020

This all makes sense. I'm good with Renaming ClientGrain to ConnectionGrain, or even call it ClientConnectionGrain.

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.

2 participants