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

refactor: modular and functional rpc #116

Merged
merged 4 commits into from
Apr 17, 2024
Merged

refactor: modular and functional rpc #116

merged 4 commits into from
Apr 17, 2024

Conversation

Reisen
Copy link
Contributor

@Reisen Reisen commented Apr 17, 2024

This PR removes the all-in-one Connection trait. Handlers are moved into modules and the websocket handling is refactored into pure functions to make the dependency chains explicit. A small amount of drive by clean up was done to remove warnings in the first commit, but otherwise all logic is unchanged.

I recommend going commit by commit.

@Reisen Reisen requested a review from ali-bahjati April 17, 2024 09:47
@Reisen Reisen force-pushed the push-kmyqsmxoxwzv branch from 6ce6cbc to 2ebccf7 Compare April 17, 2024 09:49
Copy link
Collaborator

@ali-bahjati ali-bahjati left a comment

Choose a reason for hiding this comment

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

Very nice!

@Reisen Reisen merged commit 0d6b36a into main Apr 17, 2024
2 checks passed
@Reisen Reisen deleted the push-kmyqsmxoxwzv branch April 17, 2024 13:14
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